Created
April 19, 2018 08:33
-
-
Save colevandersWands/2c2fa9976f9d8bc625757eadeb5ab1e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let arr = [4, 5, 6,] | |
let stringnum = "4" | |
let temp; | |
for (let num of arr) { | |
console.log(typeof (stringnum + num)) | |
} | |
// https://dmitripavlutin.com/javascriptss-addition-operator-demystified/ | |
// https://www.safaribooksonline.com/library/view/you-dont-know/9781491905159/ch04.html | |
// https://goo.gl/VrEagf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment