UNPKG

subscript

Version:

Modular expression parser & evaluator

12 lines (9 loc) 188 B
/** * Exponentiation operator - parse half * * ** **= */ import { binary } from '../../parse.js'; const EXP = 130, ASSIGN = 20; binary('**', EXP, true); binary('**=', ASSIGN, true);