3 ms·
The clojure example is really (* 6 4) since * is already a function, not an operator as in most languages. On the other hand, you can trivially create a macro
by dragandj 9y ago
The clojure example is really (* 6 4) since * is already a function, not an operator as in most languages.
On the other hand, you can trivially create a macro that would implement the exact es2015 syntax (or at least a very close match), but why would anyone do this?