Created
July 29, 2010 15:20
-
-
Save arantius/498392 to your computer and use it in GitHub Desktop.
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
const GLOBAL_CONSTANT_NAME = 1; | |
function plainGlobalFunction() { }; | |
function GlobalConstructor() { }; | |
GlobalConstructor.prototype.anonymousAssignedToPrototype = function() { }; | |
GlobalConstructor.prototype.namedAssignedToPrototypeOL = function GlobalConstructor_namedAssignedToPrototypeOL() { }; | |
GlobalConstructor.prototype.namedAssignedToPrototypeNL = | |
function GlobalConstructor_namedAssignedToPrototypeNL() { }; | |
function GlobalConstructor2() { }; | |
GlobalConstructor2.prototype = { | |
'constant': 1, | |
'prototypeObjectLiteralAnonymousFunction': function() { }, | |
'prototypeObjectLiteralNamedFunctionOL': function GlobalConstructor2_prototypeObjectLiteralNamedFunction() { }, | |
'prototypeObjectLiteralNamedFunctionNL': | |
function GlobalConstructor2_prototypeObjectLiteralNamedFunctionNL() { } | |
}; | |
var ObjectAsNamespace = { | |
'constant': 1, | |
'objectLiteralAnonymousFunction': function() { }, | |
'objectLiteralNamedFunctionOL': function ObjectAsNamespace_namedFunctionOL() { }, | |
'objectLiteralNamedFunctionNL': | |
function ObjectAsNamespace_namedFunctionNL() { } | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment