Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Object JavaScript deleting properties
delete; // Deleted the book author property.
delete book["main title"]; // Now it doesn't have "main title", either
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment