-
-
Save videlais/75c6b7fc1dbb3b2f403b to your computer and use it in GitHub Desktop.
JS Lesson 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var A = function() { | |
this.value = 1; //This value is a number | |
} | |
var B = function() { | |
this.value = "Two"; //This value is a String | |
} | |
var C = function() { | |
this.value = {'value': 1}; //This value is an Object | |
} | |
var D = function() { | |
this.value = function(){}; //This value is a function | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment