Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 00d890c

Browse files
domenicpetebacondarwin
authored andcommitted
docs(guide/expression): remove reference to NullPointerException
1 parent aef0980 commit 00d890c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/guide/expression.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ You can think of Angular expressions as JavaScript expressions with following di
2323
evaluation, unlike in JavaScript where the expressions are evaluated against the global
2424
`window`.
2525

26-
* **Forgiving:** expression evaluation is forgiving to undefined and null, unlike in JavaScript,
27-
where such evaluations generate `NullPointerExceptions`.
26+
* **Forgiving:** expression evaluation is forgiving to `undefined` and `null`, unlike in JavaScript,
27+
where trying to evaluate undefined properties can generate `ReferenceError` or `TypeError`.
2828

2929
* **No Control Flow Statements:** you cannot do any of the following in angular expression:
3030
conditionals, loops, or throw.

0 commit comments

Comments
 (0)