Skip to content

Instantly share code, notes, and snippets.

@colevandersWands
Created April 19, 2018 08:33
Show Gist options
  • Save colevandersWands/2c2fa9976f9d8bc625757eadeb5ab1e8 to your computer and use it in GitHub Desktop.
Save colevandersWands/2c2fa9976f9d8bc625757eadeb5ab1e8 to your computer and use it in GitHub Desktop.
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