@alu0101315058/constant-folding

1.0.1

constantFolding

A function that folds constants of an AST into one when possible

constantFolding(code: string): string
Parameters
code (string) A string containing the js code
Returns
string: Returns the code with the constants "folded"