1.1.6A function that takes a js code as argument and returns the same version after applying constant folding.
(string)
A string with the input code.
string:
Returns the equivalent code after applying constant folding.
This function replaces the input node by its equivalent after applying constant folding
(Node)
This function replaces expressions of the type [1,2,3][2-1]
(Node)
This function replaces expressions of the type [1,2,3].length
(Node)
This function replaces this node contents with the reusult of running its operation with its left and right.
(Node)