Just JavaScript - In The Beginning Was The Object
Just JavaScript - In The Beginning Was The Object
Written by Ian Elliot   
Thursday, 13 March 2014
Article Index
Just JavaScript - In The Beginning Was The Object
Hoisting
Summary and Coming Next

Summary

  • Everything in JavaScript is an object

  • The basic object is the empty object literal {}

  • Object have properties which are name:value pairs

  • The value of a property is always an object and hence an object can represent a general tree structure by nesting objects

  • The Global Object provides properties that can be used as if they were global variables

  • The builtin objects String and Number allow data to be stored in objects as values.
  • Primitive data values behave as if they only have the default properties of the object. This is done for reasons of efficiency.
  • Objects have values which cannot be changed

  • Expressions create new objects with values derived from the objects involved in the expression.

JustJavaScripticon

 


Just JavaScript 

A Radical Look At JavaScript

Contents

  1. In The Beginning Was The Object
  2. The Function Object
  3. How Functions Become Methods
  4. The Object Expression

 

Related Articles

Javascript Jems - First class functions

JavaScript Objects With Value - valueOf and toString

JavaScript Hoisting Explained       

WAT! JavaScript, Ignorance And Prejudice       

What Exactly Is A First Class Function - And Why You Should Care     

Lambda Calculus For Programmers       

The Undefined Defined Variable       

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, FacebookGoogle+ or Linkedin,  or sign up for our weekly newsletter.

 

blog comments powered by Disqus

 

Banner


Getting Started With jQuery - Advanced Ajax jqXHR and Events

The jQuery approach to Ajax is built on the jqXHR object which wraps the XmlHttpRequest object that the browser provides. It isn't often that you need delve this deeply into jQuery Ajax, but when you  [ ... ]



Getting Started With jQuery - Advanced Ajax Transports

One of the interesting things about jQuery's approach to Ajax is that it can be extended in many ways. In the previous chapter we discovered that you can use converters to create your own data types,  [ ... ]


Other Articles

<ASIN:0596805527>

<ASIN:193398869X>

<ASIN:0137054890>

<ASIN:1449381871>

<ASIN:1430230541>



Last Updated ( Sunday, 10 May 2015 )
 
 

   
RSS feed of all content
I Programmer - full contents
Copyright © 2016 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.