The Object.hasOwnProperty () method checks whether an object has the desired property in it. It returns boolean values as a result.
Object.isFrozen()
Object.isFrozen () is used to control whether an object is frozen. (An object is frozen by Object.freeze ()) Returns a boolean value that is true or incorrect.
Object.getOwnPropertySymbols()
The Object.getOwnPropertySymbols () method returns all the symbol properties that are located on a particular object.
Object.defineProperty()
Why Object.defineProperty ? The Object.defineProperty () method allows for the precise addition or modification of a property in an object. By default, values added using Object.defineProperty () do not change. The property identifiers found in objects come in two main ways: data identifiers and accessor identifiers. A data identifier is a property that can be... Continue Reading →
Object.defineProperties()
Object.defineProperties () creates or configures properties that are named and described by identifiers in the object. The names of the identifiers are property-generating objects that specify the properties of the properties to be created or the properties of the properties to be configured.
Object.create()
There are many ways to create a JavaScripte object. One of them is using the Object.create () method. The Object.create () method creates a new object using an existing object as the prototype of the newly created object.
Object Assign
If the properties in the target object have the same key, the resources will be overwritten. Then the characteristics of the resources will similarly overwrite the previous ones.
Person Inquiry Program
https://codepen.io/guldus/pen/maBojN Person Inquiry Program HTML AND JS <div class="container"> <small>Search Name</small><br /> <input type="text" id="findName" placeholder="name"/> <input type="text" id="findSurname" placeholder="surname" /> <input type="button" onclick="find();" value="find" /> <div id="show"></div> </div> <script> var persons = [ { name: "John", surname: "Peterson", age: 24, country: "England", jop: "Software Engineer" }, { name: "Alice", surname: "Queen", age: 26, country:... Continue Reading →
JavaScript Object: Examples
JavaScript Object: Examples
JavaScript Object
JavaScript Object