DEV Community

Discussion on: Interview Qs Decoded - # 2

Collapse
cat profile image
Cat Author • Edited on

I thought a string was a string by default. If you unshift() a string, would that throw an error?

I’m not by a computer right now to try it out lol