delete a operator

Home Forums Java Script delete a operator

This topic contains 1 reply, has 2 voices, and was last updated by  Sushmita Ghosh 3 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1387

    nayak.anjali.hyd
    Participant

    How to delete a operator from  function?

     

    #1390

    Sushmita Ghosh
    Keymaster

    The delete keyword is used to delete the property as well as its value.

    Example

    var student= {age:20, batch:”ABC”};
    delete student.age;

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Pasham Technology © 2018 Pasham Technologies