JavaScript’s eval() and Function()

[originally posted 2014-03-14]

In this post, I examine JavaScript’s eval function and the Function constructor to highlight their similarities as well as their subtle differences, and how to use them without problems.

Continue reading “JavaScript’s eval() and Function()”

TDD JavaScript boilerplate

[originally posted 2014-03-04]

Getting started with tests takes time because there are many small decisions to make. If you haven’t gone through the whole setup and evolution more than once or twice, it’s easy to get lost or just plain forget.

Continue reading “TDD JavaScript boilerplate”