1.1.2 • Published 3 years ago

@alu0101243498/constant-folding v1.1.2

Weekly downloads
-
License
Unlicense
Repository
github
Last release
3 years ago

npm version CI for constant-folding

constant-folding

Installation

npm install @alu0101243498/constant-folding

Usage as executable:

npx cf inputFile.js outputFile.js

Usage from code:

const constantFolding = require('constant-folding');
//call the function

The documentation of the function.

Examples

Input

["a", "b", "c"].join();
[1, 2, 3].length;
[1, 2, 3][2-1];
a = 2 * 6 + 3

Output

"a,b,c";
3;
2;
a = 15;

Author

alu0101243498

Tests

imagen