Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
samth
· 2y ago · 0 comments
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.
Comments
[–]
h1fra
2y ago
why not just `import 'fs' { read }`?
[–]
cxr
2y ago
import "./foo_bar.js" (for FooBar)