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 5439d4cd49
commit ecfe85b06c

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.