2 ms·
This is fucking impressive! Just evaluated this: (function() { var a = 'a'; var b = [a, 'b', 'c'] .filter((i, index) => i.charAt( 1 - index) !==
by msoad 9y ago
This is fucking impressive!
Just evaluated this:
(function() {
var a = 'a';
var b = [a, 'b', 'c']
.filter((i, index) => i.charAt( 1 - index) !== 'b')
.map(i => i + '!')
.join(',')
console.log(b)
})()
BTW how you avoid going to infinite loops?