/js/lib/Socket.IO-node/support/expresso/deps/jscoverage/tests/javascript/javascript-function.js
JavaScript | 38 lines | 29 code | 9 blank | 0 comment | 0 complexity | bcb6cea52f65fc3ad00cbac73942131b MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, BSD-3-Clause
- 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);