michael@0: /* Any copyright is dedicated to the Public Domain. michael@0: http://creativecommons.org/publicdomain/zero/1.0/ */ michael@0: michael@0: function test() { michael@0: // Blah! First source! michael@0: } michael@0: michael@0: test.prototype = { michael@0: anonymousExpression: function() { michael@0: }, michael@0: namedExpression: function NAME() { michael@0: }, michael@0: sub: { michael@0: sub: { michael@0: sub: { michael@0: } michael@0: } michael@0: } michael@0: }; michael@0: michael@0: var foo = { michael@0: a_test: function() { michael@0: }, michael@0: n_test: function x() { michael@0: }, michael@0: sub: { michael@0: a_test: function() { michael@0: }, michael@0: n_test: function y() { michael@0: }, michael@0: sub: { michael@0: a_test: function() { michael@0: }, michael@0: n_test: function z() { michael@0: }, michael@0: sub: { michael@0: test_SAME_NAME: function test_SAME_NAME() { michael@0: } michael@0: } michael@0: } michael@0: } michael@0: };