What's the value of sum?
const sum = eval('10*10+5');You missed this one before
eval evaluates code that's passed as a string. If it's an expression, like in this case, it evaluates the expression. The expression is 10 * 10 + 5. This returns the number 105.
Question 21 · see the original (opens in a new tab)
or press Enter