eval(expr)
Return the value of evaluating the compiled expression expr.
expr
let e = expression(stream_tokenizer(false)) // enter the expression `2 + sqrt(10);` eval(e) // 5.16227766016838
Core Module Index | Contents