Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

removed non-competing
Source Link
Jo King
  • 48.1k
  • 6
  • 130
  • 187

Javascript (ES6) (削除) 50 (削除ここまで) 44 Bytes (non-competing)

Javascript (ES6) (削除) 50 (削除ここまで) 44 Bytes

a=>a+=[,"st","nd","rd"][a.match`1?.$`]||"th"

Notes

  • takes imput as a string
  • Removed 6 bytes, thanks @user81655

Javascript (ES6) (削除) 50 (削除ここまで) 44 Bytes (non-competing)

a=>a+=[,"st","nd","rd"][a.match`1?.$`]||"th"

Notes

  • takes imput as a string
  • Removed 6 bytes, thanks @user81655

Javascript (ES6) (削除) 50 (削除ここまで) 44 Bytes

a=>a+=[,"st","nd","rd"][a.match`1?.$`]||"th"

Notes

  • takes imput as a string
  • Removed 6 bytes, thanks @user81655
Commonmark migration
Source Link

Javascript (ES6) (削除) 50 (削除ここまで) 44 Bytes (non-competing)

a=>a+=[,"st","nd","rd"][a.match`1?.$`]||"th"

###Notes###

Notes

  • takes imput as a string
  • Removed 6 bytes, thanks @user81655

Javascript (ES6) (削除) 50 (削除ここまで) 44 Bytes (non-competing)

a=>a+=[,"st","nd","rd"][a.match`1?.$`]||"th"

###Notes###

  • takes imput as a string
  • Removed 6 bytes, thanks @user81655

Javascript (ES6) (削除) 50 (削除ここまで) 44 Bytes (non-competing)

a=>a+=[,"st","nd","rd"][a.match`1?.$`]||"th"

Notes

  • takes imput as a string
  • Removed 6 bytes, thanks @user81655
added 16 characters in body
Source Link
Shaun H
  • 812
  • 6
  • 10

Javascript (ES6) (削除) 50 (削除ここまで) 44 Bytes (non-competing)

a=>a+=[,"st","nd","rd"][a.match`1?.$`]||"th"

###Notes###

  • takes imput as a string
  • Removed 6 bytes, thanks @user81655

Javascript (ES6) (削除) 50 (削除ここまで) 44 Bytes

a=>a+=[,"st","nd","rd"][a.match`1?.$`]||"th"

###Notes###

  • takes imput as a string
  • Removed 6 bytes, thanks @user81655

Javascript (ES6) (削除) 50 (削除ここまで) 44 Bytes (non-competing)

a=>a+=[,"st","nd","rd"][a.match`1?.$`]||"th"

###Notes###

  • takes imput as a string
  • Removed 6 bytes, thanks @user81655
added 91 characters in body
Source Link
Shaun H
  • 812
  • 6
  • 10
Loading
Post Undeleted by Shaun H
Replaced with valid answer
Source Link
Shaun H
  • 812
  • 6
  • 10
Loading
Post Deleted by Shaun H
Source Link
Shaun H
  • 812
  • 6
  • 10
Loading

AltStyle によって変換されたページ (->オリジナル) /