nit: `s--` works in js ;)