JavaScript Objects

JavaScript Objects

JavaScript Objects JavaScript Objects are non-primitive data type. Unlike variables, object holds multiple values in terms of properties and methods. Here Properties can hold values of primitive data types and methods are JavaScript functions. Examples of JavaScript objects are – Student, pen, Board, chair, glass, keyboard etc. JavaScript is an object-based language. JavaScript treats everything … Read more