Q. What does the following code log?
var s = 'Good';
s[0] = 'F';
console.log(s);
Why is the output what it is?
About: An online platform dedicated to helping programmers become fundamentally-sound 💪
Q. What does the following code log?
var s = 'Good';
s[0] = 'F';
console.log(s);
Why is the output what it is?