https://georgestefanis.com/blog/2015/12/14/the-case-of-recursive-functions-in-javascript/
The Case of recursive functions in Javascript