/js/lib/Socket.IO-node/support/expresso/deps/jscoverage/tests/javascript/javascript-function.js
http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs · JavaScript · 38 lines · 29 code · 9 blank · 0 comment · 0 complexity · bcb6cea52f65fc3ad00cbac73942131b MD5 · raw file
- function x() {}
- function x() {
- ;
- }
- function x() {
- x();
- return 'x';
- }
- function x(a) {
- x();
- }
- function x(a, b) {
- x();
- }
- x = function() {
- x();
- };
- (function () {
- print('x');
- })();
- (function (a) {
- print('x');
- })(1);
- (function (a, b) {
- print('x');
- })(1, 2);
- (function () {
- print('x');
- }).call(window);