I'm not sure the best way to document this stuff, but for now I'm just going to keep a running list of undocumented differences between Proto and JavaScript here, to be documented at some point in the future.
Trailing comma in array literal means nil value, rather than being ignored
Trailing comma in object literal is a syntax error
typeof on an undeclared variable results in a reference error (this hasn't been implemented yet; see #57)
No __proto__
JavaScript's yield* foo is yield ...foo in Proto
Everything is block scoped (var, const, fn, gen, async)
I'm not sure the best way to document this stuff, but for now I'm just going to keep a running list of undocumented differences between Proto and JavaScript here, to be documented at some point in the future.
nil
value, rather than being ignoredtypeof
on an undeclared variable results in a reference error (this hasn't been implemented yet; see #57)__proto__
yield* foo
isyield ...foo
in Protovar
,const
,fn
,gen
,async
)