JSFiddle - React, Tailwind, and code Playground

by Eric Howe

CoffeeScript

a = [0..3]
for e in a by -1
    if(e % 2 == 0)
        a.splice(e, 1)
    console.log(e, JSON.stringify(a))