DWP  Demo  Example×  

DOM Calculator

Simply type in a string such as 32 + 98 * 6 and click GO.

COMPUTE :   

And the answer is: 48

Code

Source of DomCalc.html

Source of domcalc.js