aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/expression.ngdoc
diff options
context:
space:
mode:
authorDomenic Denicola2013-06-24 15:34:54 -0300
committerPete Bacon Darwin2013-06-25 21:13:56 +0100
commit7f4e658d3d6c0abd3af286d7a185bdb16878b84b (patch)
treefca22324852b9bdf31f69e00d85c281dc22c7c79 /docs/content/guide/expression.ngdoc
parentff57695855c635ffe81e3ed895b52542e28c97f4 (diff)
downloadangular.js-7f4e658d3d6c0abd3af286d7a185bdb16878b84b.tar.bz2
docs(guide/expression): remove reference to `NullPointerException`
Diffstat (limited to 'docs/content/guide/expression.ngdoc')
-rw-r--r--docs/content/guide/expression.ngdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/guide/expression.ngdoc b/docs/content/guide/expression.ngdoc
index 62b5f8d8..eae41fcf 100644
--- a/docs/content/guide/expression.ngdoc
+++ b/docs/content/guide/expression.ngdoc
@@ -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
`window`.
- * **Forgiving:** expression evaluation is forgiving to undefined and null, unlike in JavaScript,
- where such evaluations generate `NullPointerExceptions`.
+ * **Forgiving:** expression evaluation is forgiving to `undefined` and `null`, unlike in JavaScript,
+ 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:
conditionals, loops, or throw.