Closed pradyunsg closed 9 years ago
From https://github.com/lukehoban/es6features#modules
// app.js import * as math from "lib/math"; alert("2π = " + math.sum(math.pi, math.pi));
It is currently used as a variable name in javascript and node code and the variable should be renamed.
This is not an issue because the from keyword is only contextual in an import statement. It's perfectly safe to use outside of import statements.
from
import
Ooh, OK.
new thing learnt
From https://github.com/lukehoban/es6features#modules
It is currently used as a variable name in javascript and node code and the variable should be renamed.