let t = [1,2,3]
let p = t.slice()
console.log(t)
console.log(p)
console.log(p==t)
why p and t doesn't equal each other? i'm little bit confuse with slice method that not taking any argument and how it's work without argument
let t = [1,2,3]
let p = t.slice()
console.log(t)
console.log(p)
console.log(p==t)
why p and t doesn't equal each other? i'm little bit confuse with slice method that not taking any argument and how it's work without argument