Coder Social home page Coder Social logo

nusr / jsjs Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 23.64 MB

JavaScript interpret JavaScript.Zero dependencies.

Home Page: https://nusr.github.io/jsjs

License: MIT License

JavaScript 1.30% TypeScript 96.71% HTML 1.99%
interpreter typescript no-dependencies zero-dependency zero-dependencies

jsjs's Introduction

JavaScript interpret JavaScript.

ci status codecov GitHub GitHub code size in bytes

Zero dependencies.

Start

npm install
npm run start

Test

npm run test

Support features

MDN

Expressions & operators

  • Addition (+)
  • Addition assignment (+=)
  • Assignment (=)
  • async function expression
  • async function* expression
  • await
  • Bitwise AND (&)
  • Bitwise AND assignment (&=)
  • Bitwise NOT (~)
  • Bitwise OR (|)
  • Bitwise OR assignment (|=)
  • Bitwise XOR (^)
  • Bitwise XOR assignment (^=)
  • class expression
  • Comma operator (,)
  • Conditional (ternary) operator
  • Decrement (--)
  • delete operator
  • Destructuring assignment
  • Division (/)
  • Division assignment (/=)
  • Equality (==)
  • Exponentiation (**)
  • Exponentiation assignment (**=)
  • Function expression
  • function* expression
  • Greater than (>)
  • Greater than or equal (>=)
  • Grouping operator ( )
  • import
  • import.meta
  • in operator
  • Increment (++)
  • Inequality (!=)
  • instanceof
  • Left shift (<<)
  • Left shift assignment (<<=)
  • Less than (<)
  • Less than or equal (<=)
  • Logical AND (&&)
  • Logical AND assignment (&&=)
  • Logical NOT (!)
  • Logical nullish assignment (??=)
  • Logical OR (||)
  • Logical OR assignment (||=)
  • Multiplication (*)
  • Multiplication assignment (*=)
  • new operator
  • new.target
  • null
  • Nullish coalescing operator (??)
  • Object initializer
  • Operator precedence
  • Optional chaining (?.)
  • Property accessors
  • Remainder (%)
  • Remainder assignment (%=)
  • Right shift (>>)
  • Right shift assignment (>>=)
  • Spread syntax (...)
  • Strict equality (===)
  • Strict inequality (!==)
  • Subtraction (-)
  • Subtraction assignment (-=)
  • super
  • this
  • typeof
  • Unary negation (-)
  • Unary plus (+)
  • Unsigned right shift (>>>)
  • Unsigned right shift assignment (>>>=)
  • void operator
  • yield
  • yield*

Statements & declarations

  • async function
  • async function*
  • block
  • break
  • class
  • const
  • continue
  • debugger
  • do...while
  • empty
  • export
  • for
  • for await...of
  • for...in
  • for...of
  • function declaration
  • function*
  • if...else
  • import
  • label
  • let
  • return
  • switch
  • throw
  • try...catch
  • var
  • while
  • with

Functions

  • The arguments object
  • Arrow function expressions
  • Default parameters
  • getter
  • Method definitions
  • Rest parameters
  • setter

Classes

  • Class static initialization blocks
  • constructor
  • extends
  • Private class features
  • Public class fields
  • static

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.