Object seal method – In javascript, object seal method (Object.seal()) seal the object and prevent new keys or properties from being added to it. And also make existing keys or…
JavaScript Object freeze – JavaScript object freeze is used to freeze object which disallow any change in object. object freeze is difference from declaring object with const keyword. Because const…
JavaScript Object – JavaScript object is a collection of key-value pairs where any kind of data type value can be store. An object is like an array but the array…
Set Object (`Set()`) is a collection of values Which you can iterate like an array and access all the elements in the same order as it inserted. Set object let…
Object isFrozen Method – Object isFrozen Method (Object.isFrozen()) is a method that checks whether the object is freeze or not. As there is Object.frozen() method is also there which can…
JSON stringify method – JSON.stringify() method converts a JavaScript object or value to a JSON string. Sometimes, in order to save JSON object in DB. It’s required to convert it…
new operator – The new operator is used to create an instance of object type which is defined by user. And also for one of the built-in object types that…
Object Entries Method – JavaScript object entries method ( Object.entries() ) return an array of a given object. In which, object key-value store as nested array values in the main…
Optional Chaining Operator – optional chaining operator ?. is an operator which allow to properly get access to deep nested level key-value pair without throwing an error. Like . we use…
In this js quiz, you need to find sum of object and variable value. But there is also one thing in it. We are also incrementing a value. So, First…