What is the output of the following?

var s1 = '2 + 2'
console.log(eval(s1)) // ?

Categories

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

Difficulty

😅 Easy

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