roman01la / javascript-to-clojurescript

JavaScript to ClojureScript translator
https://roman01la.github.io/javascript-to-clojurescript/
102 stars 6 forks source link

No translation for with "of" #6

Closed avelino closed 4 years ago

avelino commented 4 years ago

ref: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...of

const array1 = ['a', 'b', 'c'];
for (const element of array1) {
  console.log(element);
}
roman01la commented 4 years ago

That's a language feature that doesn't have 1to1 translation with Clojure, we are not gonna address this.