What is the output of the following?

var s1 = new String('2 + 2')

console.log(eval(s1)) // ?

Categories

⚛️ Javascript ⛔️ No computer needed ⛔️ No whiteboarding

Difficulty

🤔 Medium

Last Updated: 1/26/2019, 9:39:14 PM