let a = "hello"
let b = "hello"
console.log(a === b)
returns true
, but
let a = ["hello"]
let b = ["hello"]
console.log(a === b)
returns false
. Why is this?
let a = "hello"
let b = "hello"
console.log(a === b)
returns true
, but
let a = ["hello"]
let b = ["hello"]
console.log(a === b)
returns false
. Why is this?