jsvm2
TypeScript icon, indicating that this package has built-in type declarations

1.2.5 • Public • Published

build workflow Coverage Status NPM npm bundle size

Specification

https://tc39.es/ecma262

支持能力

注:引擎表现为严格模式

ES5

  • [x] File
  • [x] Program
  • [x] Identifier
  • [x] NullLiteral
  • [x] StringLiteral
  • [x] NumericLiteral
  • [x] BooleanLiteral
  • [x] RegExpLiteral
  • [x] VariableDeclaration
  • [x] FunctionDeclaration
  • [x] FunctionExpression
  • [x] ArrayExpression
  • [x] VariableDeclarator
  • [x] ExpressionStatement
  • [x] BlockStatement
  • [x] ConditionalExpression
  • [x] EmptyStatement
  • [x] DebuggerStatement
  • [ ] WithStatement: t.WithStatement; // 不实现,@babel/parse 在严格模式下禁用 WithStatement
  • [x] ReturnStatement
  • [x] LabeledStatement
  • [x] BreakStatement
  • [x] ContinueStatement
  • [x] IfStatement
  • [x] SwitchStatement
  • [x] SwitchCase
  • [x] ThrowStatement
  • [x] TryStatement
  • [x] CatchClause
  • [x] ForStatement
  • [x] WhileStatement
  • [x] DoWhileStatement
  • [x] ForInStatement
  • [x] ThisExpression
  • [x] ObjectExpression
  • [x] ObjectProperty
  • [x] ObjectMethod
  • [x] UnaryExpression
  • [x] UpdateExpression
  • [x] BinaryExpression
  • [x] AssignmentExpression
  • [x] LogicalExpression
  • [x] MemberExpression
  • [x] CallExpression
  • [x] NewExpression
  • [x] SequenceExpression

ES2015

  • [x] VariableDeclaration (let/const)
  • [x] ArrowFunctionExpression
  • [ ] TemplateLiteral
  • [ ] TaggedTemplateExpression
  • [x] ForOfStatement
  • [ ] ClassDeclaration
  • [ ] ClassExpression
  • [ ] ClassBody
  • [ ] ClassMethod
  • [x] MetaProperty
  • [ ] Super
  • [ ] TemplateElement
  • [x] SpreadElement
  • [ ] YieldExpression
  • [x] ObjectPattern
  • [ ] ArrayPattern
  • [x] RestElement
  • [x] AssignmentPattern
  • [ ] ImportDeclaration
  • [ ] ExportNamedDeclaration
  • [ ] ExportDefaultDeclaration

ES2016

  • [x] BinaryExpression

ES2017

  • [ ] AwaitExpression

Experimental

  • [ ] ImportSpecifier
  • [ ] ImportDefaultSpecifier
  • [ ] ExportSpecifier
  • [ ] SpreadProperty
  • [ ] DoExpression
  • [ ]Decorator

Test

Readme

Keywords

none

Package Sidebar

Install

npm i jsvm2

Weekly Downloads

1

Version

1.2.5

License

MIT

Unpacked Size

471 kB

Total Files

50

Last publish

Collaborators

  • yeanzhi