Browsing Tag

assert

Quick Tip: Quick and Easy JavaScript Testing with “Assert”
videos

Quick Tip: Quick and Easy JavaScript Testing with “Assert”

Years ago, I learned a deceptively simple “assert” function from John Resig, for testing your JavaScript. Amazingly, at barely five or six lines, this code provides a great level of power and control over your code, when testing. I’ll show you how to use it in today’s video quick tip.