Be Careful With Compound Conditions In AngularJS (And JavaScript In General)

added by Paul Wheeler
2/26/2015 3:10:30 PM

239 Views

This post really has nothing to do with AngularJS specifically; but, I happen to trip over this feature of the JavaScript language while constructing an AngularJS view. As such, I thought I should present it in an AngularJS context in case other Angularistas find it interesting. What I'm referring to is the fact that in a compound condition JavaScript will return the last evaluated expression.


0 comments