@jsep-plugin/assignment
v1.3.0
Published
Adds assignment expression support
Downloads
6,901,456
Readme
@jsep-plugin/assignment
A JSEP plugin for adding assignment expression support. Allows expressions of the form:
jsep('a = 2');
jsep('a += 2');
jsep('a++');
jsep('--aa');
Install
npm install @jsep-plugin/assignment
# or
yarn add @jsep-plugin/assignment
Usage
import jsep from 'jsep';
import jsepAssignment from '@jsep-plugin/assignment';
jsep.plugins.register(jsepAssignment);