re: How to create range in Javascript VIEW POST

TOP OF THREAD FULL DISCUSSION
re: let r = (s, e) => Array.from('x'.repeat(e - s), (_, i) => s + i); Ok here ya go... even shorter. :D

Rock, paper, scissors... 68 chars, you've nailed it!

Trust me to bump into a js golfer.

Next you'll be telling me that you're dropping the let keyword and just leaving r on the global object!!

code of conduct - report abuse