docs(guide/expression): remove reference to NullPointerException

This commit is contained in:
Domenic Denicola 2013-06-24 15:34:54 -03:00 committed by Pete Bacon Darwin
parent aef0980063
commit 00d890c07a

View file

@ -23,8 +23,8 @@ You can think of Angular expressions as JavaScript expressions with following di
evaluation, unlike in JavaScript where the expressions are evaluated against the global evaluation, unlike in JavaScript where the expressions are evaluated against the global
`window`. `window`.
* **Forgiving:** expression evaluation is forgiving to undefined and null, unlike in JavaScript, * **Forgiving:** expression evaluation is forgiving to `undefined` and `null`, unlike in JavaScript,
where such evaluations generate `NullPointerExceptions`. where trying to evaluate undefined properties can generate `ReferenceError` or `TypeError`.
* **No Control Flow Statements:** you cannot do any of the following in angular expression: * **No Control Flow Statements:** you cannot do any of the following in angular expression:
conditionals, loops, or throw. conditionals, loops, or throw.