Y
Hacker News
new
|
ask
|
show
|
jobs
by
samth
724 days ago
We considered that syntax, but `from` was not a reserved keyword already, whereas `import` was, so the parsing situation with the actual syntax was much better.
2 comments
h1fra
724 days ago
why not just `import 'fs' { read }`?
link
cxr
724 days ago
import "./foo_bar.js" (for FooBar)
link