remove the content and put into new array js code example Example: js delete all array items A.splice(0,A.length)