23rd December 2022const my_object = { name :"#! code", domain: "www.hashbangcode.com" }; const keys = Object.keys(my_object); console.log(keys); // (2) ['name', 'domain'] console.log(keys.length); // 2 JavaScript Add new comment Your name Email The content of this field is kept private and will not be shown publicly. Comment Leave this field blank
Add new comment