rainforestapp / decaf

Coffeescript to ES.next transpiler. Now maintained over at
https://github.com/juliankrispel/decaf
MIT License
106 stars 10 forks source link

Unless condition with in expression wrong output #145

Closed juliankrispel closed 8 years ago

juliankrispel commented 8 years ago
unless fragment in list
  console.log 'dwq'

turns into

if (list.includes(fragment)) {
  console.log("dwq");
}

that's bs ^