docs(aio): document the special treatment of undefined

This commit is contained in:
Trotyl Yu 2017-09-24 10:15:46 +08:00 committed by Alex Rickabaugh
parent d4d9009696
commit 0f432994b8
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ The `hero` in `{{hero.name}}`
refers to the template input variable, not the component's property. refers to the template input variable, not the component's property.
Template expressions cannot refer to anything in Template expressions cannot refer to anything in
the global namespace. They can't refer to `window` or `document`. They the global namespace (except `undefined`). They can't refer to `window` or `document`. They
can't call `console.log` or `Math.max`. They are restricted to referencing can't call `console.log` or `Math.max`. They are restricted to referencing
members of the expression context. members of the expression context.