1.2.5 • Published 2 years ago

jsvm2 v1.2.5

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

build workflow Coverage Status NPM npm bundle size

Specification

https://tc39.es/ecma262

支持能力

注:引擎表现为严格模式

ES5

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

ES2015

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

ES2016

  • BinaryExpression

ES2017

  • AwaitExpression

Experimental

  • ImportSpecifier
  • ImportDefaultSpecifier
  • ExportSpecifier
  • SpreadProperty
  • DoExpression
  • Decorator

Test

1.2.0

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.2.5

2 years ago

1.0.7

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

0.0.2

3 years ago

0.0.1

3 years ago