Late last night Dustin Diaz posted a short brain teaser, there are lots of solutions already posted, but I didn’t see any with a similar approach to mine, so I thought I would also share:
var arr = ['a', 'b', 'c', 'c', 'd', 'e', 'e',
[...]
Late last night Dustin Diaz posted a short brain teaser, there are lots of solutions already posted, but I didn’t see any with a similar approach to mine, so I thought I would also share:
var arr = ['a', 'b', 'c', 'c', 'd', 'e', 'e',
[...]