JavaScript and Closures
·
One of the first things I look for when reviewing JavaScript code is the proper use (and isolation) of scope.
·
One of the first things I look for when reviewing JavaScript code is the proper use (and isolation) of scope.
·
Determining which methods in your application needed testing used to be easy – test everything exposed by the public API. But once you invite other developers to contribute, you are exposing a whole other set of internal APIs to the team. The behavioral consistency of these methods is just as important as that of the…