Welcome Guest! (App Version 3.1)

websitnero logo name



Objects are data types representing the real world entities. They have data in the form of key-value pair.

Objects are at the very core of JavaScript. An object is an entity in JavaScript which often resembles real-world things or objects. For example, an object named myCar can have properties representing inherent characteristics such as -- color, weight, height and also other real-world characteristics such as -- Brand, Model, etc.

Every object has a collection of properties and property-values.


<button onclick="alpha()"> Click </button>

var a = {name: "Peter", age: 29};
function alpha(){
  alert("Name is: " + a.name);
  alert("Age is: " + a.age);
WebsiteNero is highly optimized for learning various website developing technlogies. We try our best to add maximum modules and examples to help learn the concepts clearly and vividly. We try to present all content and examples as simple as we can removing any complexity to hurdle easy understanding. We try best provide you with worthful content, but we cannot guarantee full correctness of all the content on this site. While using this website, you agree to have read and accepted all our terms of use and conditions, cookie, and privacy policy. Copyright, 2013-2018 by websitenero.com. All Rights Reserved.