Skip to content

Instantly share code, notes, and snippets.

@arantius
Created July 29, 2010 15:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arantius/498392 to your computer and use it in GitHub Desktop.
Save arantius/498392 to your computer and use it in GitHub Desktop.
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