From ecfe85b06ce7a57335e3f13630b367d2b87b9075 Mon Sep 17 00:00:00 2001 From: Trotyl Yu Date: Sun, 24 Sep 2017 10:15:46 +0800 Subject: [PATCH] docs(aio): document the special treatment of undefined --- aio/content/guide/template-syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/template-syntax.md b/aio/content/guide/template-syntax.md index 934ec8e747..96e8704cb8 100644 --- a/aio/content/guide/template-syntax.md +++ b/aio/content/guide/template-syntax.md @@ -142,7 +142,7 @@ The `hero` in `{{hero.name}}` refers to the template input variable, not the component's property. 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 members of the expression context.