Skip to main content
Commonmark migration
Source Link

#JavaScript (ES2015), 78 77

JavaScript (ES2015), 78 77

s=>s+'s go M'+(l=s.length-1,w=s[l]<'u',Array(l).join(w?'eo':'oo')+(w?'w':''))

Try it here: https://jsbin.com/guqaxejiha/1/edit?js,console

#JavaScript (ES2015), 78 77

s=>s+'s go M'+(l=s.length-1,w=s[l]<'u',Array(l).join(w?'eo':'oo')+(w?'w':''))

Try it here: https://jsbin.com/guqaxejiha/1/edit?js,console

JavaScript (ES2015), 78 77

s=>s+'s go M'+(l=s.length-1,w=s[l]<'u',Array(l).join(w?'eo':'oo')+(w?'w':''))

Try it here: https://jsbin.com/guqaxejiha/1/edit?js,console

added 13 characters in body
Source Link
Pavlo
  • 127
  • 6

#JavaScript (ES2015), 7878 77

s=>s+'s go M'+(l=s.length-1,a=Arrayw=s[l]<'u',Array(l),s[l]<'u'?a.join(w?'eo')+'w':a.join('oo')+(w?'w':''))

Try it here: https://jsbin.com/jebetevume/1/edit?js,consolehttps://jsbin.com/guqaxejiha/1/edit?js,console

#JavaScript (ES2015), 78

s=>s+'s go M'+(l=s.length-1,a=Array(l),s[l]<'u'?a.join('eo')+'w':a.join('oo'))

Try it here: https://jsbin.com/jebetevume/1/edit?js,console

#JavaScript (ES2015), 78 77

s=>s+'s go M'+(l=s.length-1,w=s[l]<'u',Array(l).join(w?'eo':'oo')+(w?'w':''))

Try it here: https://jsbin.com/guqaxejiha/1/edit?js,console

added 13 characters in body
Source Link
Pavlo
  • 127
  • 6

#JavaScript (ES2015), 78

s=>s+'s go M'+(l=s.length-1,a=Array(l),s[l]<'u'?a.join('eo')+'w':a.join('oo'))

Try it here: https://jsbin.com/jebetevume/1/edit?js,console

#JavaScript (ES2015), 78

s=>s+'s go M'+(l=s.length-1,a=Array(l),s[l]<'u'?a.join('eo')+'w':a.join('oo'))

https://jsbin.com/jebetevume/1/edit?js,console

#JavaScript (ES2015), 78

s=>s+'s go M'+(l=s.length-1,a=Array(l),s[l]<'u'?a.join('eo')+'w':a.join('oo'))

Try it here: https://jsbin.com/jebetevume/1/edit?js,console

deleted 1 character in body
Source Link
Pavlo
  • 127
  • 6
Loading
added 2 characters in body
Source Link
Pavlo
  • 127
  • 6
Loading
added 6 characters in body
Source Link
a spaghetto
  • 11.3k
  • 3
  • 46
  • 82
Loading
Source Link
Pavlo
  • 127
  • 6
Loading