I was practicing some JavaScript when one of my friends came across this JavaScript code:

document.write(('b' + 'a' + + 'a' + 'a').toLowerCase());

The above code answers "banana"!
Can anyone explain why?

8 s
8

Leave a Reply

Your email address will not be published. Required fields are marked *