Categories
Automated Testing JavaScript

Avoiding boolean traps in es6

Say that we have a ECMAScript6 class like so: