ccxvii / mujs

An embeddable Javascript interpreter in C.

Home Page:http://mujs.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

let is not support ??

756445638 opened this issue · comments

[yuyang@localhost release]$ ./mujs -i

let a = 1;
SyntaxError: [stdin]:1: unexpected token: (identifier) (expected ';')

"let" is not part of ECMAScript 5 language. The "let" and "const" keywords were added in a later version of the language, which is not supported by mujs.

ok thanks