Predict the output of the following javascript code

const sum = eval('10*10+5');

 

 

 

 

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.