javascript day – 1

object is something we create out of the class. it is already built-in.

function Object(){

var x = new Object(); //


Object o = new Object(); is like saying var r = {};// how to create an empty object.

var r = {}’; = “Rommel”; = “006”;

r.dept = “admin”;

Orthogonal – there are many ways to achieve the result.

function goo() { // function block
return “Hello”;


var s = goo();

goo = “1”; // iniba dito ang value ng goo. functions are like ordinary variables.


Tags: , , , ,

About azikiel

Graphic Artist by profession, cat lover at heart. I love food and good photography of nature and skies. Follow me on my journey

2 responses to “javascript day – 1”

  1. kristobaldude says :

    Reblogged this on Randomly Mental ™.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: