You’ve defined a variable as the property of an object, but now you want to get rid of it. In this video Craig Buckler teaches novice JavaScript developers how to perform this essential operation, beginning with the basics of object creation. Learn how to erase your property using JavaScript’s delete command or, for more complex objects, convert the property to “undefined.” Beginners can follow along easily as Buckler demonstrates each option using jsconsole.com.

Article image: Screenshot from "Removing properties from JavaScript objects"