Comments
Closed this issue · 4 comments
MerliX commented
Interesting tool, but I didn't find sign to comment line.
When you do many calculations, comments will help you understand what's happening
josdejong commented
You can use the #
character to start a comment
MerliX commented
@josdejong I see error
josdejong commented
That's something calque should handle. The used expression parser (math.js) returns undefined
in case of an empty expression, and undefined
does not have a method toString()
, hence the error message
math.eval(''); // returns undefined
math.eval('# some comment'); // returns undefined
grimalschi commented
Fixed