Eric Foster 35b96bc934 initial commit 6 gadus atpakaļ
..
.npmignore initial commit 6 gadus atpakaļ
README.md initial commit 6 gadus atpakaļ
common.js initial commit 6 gadus atpakaļ
evaluator.js initial commit 6 gadus atpakaļ
package.json initial commit 6 gadus atpakaļ

README.md

esmangle-evaluator

esmangle's evaluator.js as a standalone module.

evaluator.js is an unmodified copy of the original.

common.js is a stub of the original with a few helpers/constants required by evaluator.js.

Exports

{
  constant: {
    doBinary: [Function: doBinary],
    doUnary: [Function: doUnary],
    doLogical: [Function: doLogical],
    evaluate: [Function: getConstant],
    isConstant: [Function: isConstant]
  },
  hasSideEffect: [Function: hasSideEffect],
  booleanCondition: [Function: booleanCondition]
}