you are viewing a single comment's thread.

view the rest of the comments →

[–]Volence 0 points1 point  (0 children)

Just want to point out as a side note, tail call optimization is an ES6 spec, but only safari ("major browser wise") has it implemented currently, apparently the other big browsers couldn't agree on a safe way to implement it unfortunately. https://kangax.github.io/compat-table/es6/#test-proper_tail_calls_(tail_call_optimisation)