Syntax
delete expression;
Example
var ar=["red","green","Apricot","Guava"];
delete ar[1];
Example Program:- (Editor)
Editor is Loading...
Advertisement
tháng 3 10, 2016 / in javascript, javascript Beginner / with No comments /
delete expression;
Example
var ar=["red","green","Apricot","Guava"];
delete ar[1];
0 nhận xét:
Đăng nhận xét