samedi 16 avril 2016

Why is {}+{} in the same browser works have different results

I'm in the Google browser console run is like this

{}+{} => "[object Object][object Object]"

enter image description here

But I run in the source file is like this

{}+{} => NaN

enter image description here I'm in the firefox browser console run is like this
{}+{} => NaN

enter image description here




Aucun commentaire:

Enregistrer un commentaire