About 72,000 results
Open links in new tab
  1. delete - JavaScript | MDN

    Jul 17, 2025 · The delete operator removes a property from an object. If the property's value is an object and there are no more references to the object, the object held by that property is eventually …

  2. JavaScript delete Operator - W3Schools

    The delete operator deletes both the value of the property and the property itself. After deletion, the property cannot be used before it is added back again. The delete operator is designed to be used …

  3. JavaScript delete Operator - GeeksforGeeks

    Jan 6, 2025 · The delete operator in JavaScript removes properties from objects, including inherited ones, and creates holes in arrays without changing their length. If a deleted property holds an object …

  4. How do I remove a property from a JavaScript object?

    Oct 16, 2008 · 1130 Objects in JavaScript can be thought of as maps between keys and values. The delete operator is used to remove these keys, more commonly known as object properties, one at a …

  5. JavaScript Delete Operator: 5 Things to Know | Built In

    Jun 24, 2025 · Summary: The JavaScript delete operator removes object properties and returns true if successful. It can't delete var-declared variables or built-in objects, and may leave holes in arrays.

  6. delete operator in JavaScript - Medium

    Mar 24, 2025 · In JavaScript, removing properties from objects and elements from arrays is a common task. The delete operator is a popular tool for this, but it's important to understand how it works and …

  7. How to Remove a Property From a JavaScript Object (delete ...

    When you remove a property in JavaScript, you’re making a statement about object shape and intent. In my experience, choosing the right approach early prevents subtle bugs later—especially in modern …

  8. JavaScript Delete - Managing Object Properties - ZetCode

    Apr 16, 2025 · Learn how to use the delete keyword in JavaScript for removing object properties, with examples and explanations.

  9. The Secrets of the delete Operator in JavaScript: What Can Be Deleted?

    Sep 27, 2024 · The delete operator is like a scalpel in JavaScript. It works great when you want to surgically remove properties from an object, but it’s not for chopping out variables or array elements.

  10. JavaScript delete Operator Tutorial with Examples

    Oct 14, 2024 · The delete operator is used to remove a property from an object. It returns true if the property was successfully deleted, or false if the operation failed (e.g., if the property was non …