Back to Browse

JavaScript's Delete Operator - How to Delete Object Properties with One Command

766 views
Feb 12, 2021
8:20

JavaScript's delete operator makes it possible to delete object properties. Despite its simplicity, it's often over looked when it comes to mutating JavaScript objects. In this video, we're going to walk through how to use this operator while identifying some of its limitations. Igbo API GitHub: https://github.com/ijemmao/igbo_api Volunteer Form: https://nkowaokwu.com/volunteer 🎬 Subscribe to the channel! - https://www.youtube.com/channel/UC-db2t_fVN3T_kzKYSNUioA?view_as=subscriber&sub_confirmation=1 Timestamps: 0:00 Contribute to the Igbo API 0:31 Quick Look: delete operator 1:01 Example: Deleting with Array.reduce 2:18 Example: Deleting with assigning undefined 3:19 delete Operator Limitations 4:33 Example: Deleting Array Elements 5:20 delete Operator Alternative: Lodash omit function 6:53 Final Call! Contribute to the Igbo API Resources: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/delete == Let's Connect == 🐦 Twitter - https://twitter.com/ijemmaohno == Who I Am == I'm Ijemma, a frontend software engineer currently working in New York City. I make videos on all things JavaScript and, more broadly, frontend web development. Icons from Freepik #javascript #webdevelopment #softwareengineer

Download

0 formats

No download links available.

JavaScript's Delete Operator - How to Delete Object Properties with One Command | NatokHD