반응형
let a = [1, 2, 3, 4];
let b = a.indexOf(3)
a.splice(b,1)
` a = [1, 2, 3]`

kd

반응형
복사했습니다!