A Easy Way to remove element from array in a javascript.
e.g. var arr = {"one":"Ram","two":"Mangesh","three":"Vishnu"};
now we have remove the element whose value is "Mangesh" and key is "two"
delete arr['two'];
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment