A slimmed down version of javascript without features.
import
is syntax, not a function, not dynamic.
import foo from 'bar'
return myModuleExports
null
- Booleans
- Unicode strings
- Integers
- Floating point numbers
- Structs
Like JS but no methods, just data structures.
Also immutable by default.
For back compat with JSON
function foo(x) {
function bar() {
return x * 2
}
return bar
}
No function expressions, no anon functions.
- macros?
A lisp in JS syntax ?