What does the delete operator do in JavaScript?

Answer Posted / datta

delete operator deletes the property and its value

var student={age:30; branch:"CSE"};
delete student.age;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the predefined functions in javascript?

611


What is use strict in javascript?

569


What do mean by NULL in Javascript?

610


How do you declare a variable in javascript?

488


Can I write javascript in notepad?

590






What companies use javascript?

548


What does _ mean in javascript?

645


How do you check if a string is a number javascript?

545


In which location cookies are stored on the hard disk?

585


List few difference between primitive and non primitive javascript data types?

588


List some unit testing frameworks javascript

587


Write about the errors shown in javascript?

550


What are global variables? How are these variable declared and what are the problems associated with using them?

588


What is the difference between scripting and programming?

552


Is javascript server side or client side?

538