From 2675f6f62b5cf16bc3e7c2478ae5a4d8325c9f21 Mon Sep 17 00:00:00 2001 From: Ethan Date: Fri, 2 Sep 2016 23:24:42 -0400 Subject: [PATCH] Fix typo in es6 modules proposal --- 002-es6-modules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/002-es6-modules.md b/002-es6-modules.md index 8a824e4..069c1cb 100644 --- a/002-es6-modules.md +++ b/002-es6-modules.md @@ -457,8 +457,8 @@ import foo from './cjs.js'; foo(); // 2 import * as bar from './cjs.js'; -bar.name; // 'two' bar.default(); // 2 +bar.name; // undefined bar(); // throws, bar is not a function ```