DEV Community

Discussion on: How to create range in Javascript

 
johnboy5358 profile image
John

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

Thread Thread
 
kerafyrm02 profile image
kerafyrm02

lol., made range to r.. so even shorter :D

Thread Thread
 
johnboy5358 profile image
John • Edited

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!!

Thread Thread
 
ycmjason profile image
YCM Jason

haha! nice solution John!

Thread Thread
 
johnboy5358 profile image
John

Well, thank you so much for saying!