Our great sponsors
-
I'm currently working on a game[0] similar to Untrusted[1] and I had to use bind (among other techniques like parameter shadowing) in order to "sandbox" player provided code from interfering with other game objects or accessing the global scope. Bind is useful because you can control the meaning of "this" when evaluating user-provided code.
-
All very contrived of course.
Ramda’s currying [0] gives you the _ param to play with the order. But I’ve come to the conclusion that currying in JS is rarely worth the effort. [1]
0 - https://github.com/ramda/ramda/blob/v0.28.0/source/__.js
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
The modern JS tutorial is indeed a very good and comprehensive resource.
For all its qualities, Eloquent JS is not a very beginner-friendly book. For a smoother learning curve, you might consider <https://github.com/thejsway/thejsway>.
Disclaimer: I wrote this book.