Ленивые функции в JavaScript

https://habr.com/post/435838/