• Home
  • Raw
  • Download

Lines Matching defs:send

50   for (const { send, expect } of tests) {  property
104 send: '', property
108 send: 'message', property
112 send: 'invoke_me(987)', property
116 send: 'a = 12345', property
120 send: '{a:1}', property
127 send: 'ref = 1', property
135 send: 'throw new Error(\'test error\');', property
139 send: "throw { foo: 'bar' };", property
144 send: 'function test_func() {', property
149 send: '.break', property
154 send: 'eval("function test_func() {")', property
159 send: '`io.js', property
164 send: '.break', property
169 send: '`io.js ${"1.0"', property
173 send: '+ ".2"}`', property
177 send: '`io.js ${', property
181 send: '"1.0" + ".2"}`', property
186 send: '("a"', property
190 send: '.charAt(0))', property
195 send: '.1234', property
200 send: '.1+.1', property
205 send: 'JSON.parse(\'{"valid": "json"}\');', property
211 send: 'JSON.parse(\'{invalid: \\\'json\\\'}\');', property
217 send: 'JSON.parse(\'066\');', property
222 send: 'JSON.parse(\'{\');', property
228 send: '/(/;', property
239 send: 'new RegExp("foo", "wrong modifier");', property
244 send: '(function() { "use strict"; return 0755; })()', property
253 send: '(function(a, a, b) { "use strict"; return a + b + c; })()', property
262 send: '(function() { "use strict"; with (this) {} })()', property
271 send: '(function() { "use strict"; var x; delete x; })()', property
280 send: '(function() { "use strict"; eval = 17; })()', property
289 send: '(function() { "use strict"; if (true) function f() { } })()', property
300 send: 'function blah() { return 1; }', property
304 send: 'blah()', property
309 send: 'var I = [1,2,3,function() {}]; I.pop()', property
314 send: '{ a: ', property
318 send: '1 }', property
323 send: '{ "a": ', property
327 send: '1 }', property
332 send: 'class Foo { #private = true ', property
337 send: 'num = 123456789n', property
342 send: 'static foo = "bar" }', property
347 send: '(function() {', property
351 send: '// blah', property
355 send: 'return 1n;', property
359 send: '})()', property
364 send: 'function f(){}; f(f(1,', property
368 send: '2)', property
372 send: ')', property
377 send: 'npm install foobar', property
384 send: '(function() {\n\nreturn 1;\n})()', property
388 send: '{\n\na: 1\n}', property
392 send: 'url.format("http://google.com")', property
396 send: 'var path = 42; path', property
402 send: '.invalid_repl_command', property
408 send: '.toString', property
413 send: '[] \\', property
423 send: '\'the\\\nfourth\\\neye\'', property
431 send: ' \t .break \t ', property
436 send: '\'the \\\n fourth\t\t\\\n eye \'', property
441 send: '\'the \\\n fourth\' + \'\t\t\\\n eye \'', property
446 send: '\'\\\n.break', property
451 send: '\'thefourth\\\n.help\neye\'', property
466 send: '{ a: 1 }.a', // ({ a: 1 }.a); property
470 send: '{ a: 1 }.a;', // { a: 1 }.a; property
479 send: '{ a: 1 }["a"] === 1', // ({ a: 1 }['a'] === 1); property
483 send: '{ a: 1 }["a"] === 1;', // { a: 1 }; ['a'] === 1; property
488 send: '\n\r\n\r\n', property
493 send: '\'the\\\n\\\nfourtheye\'\n', property
498 send: '/(.)(.)(.)(.)(.)(.)(.)(.)(.)/.test(\'123456789\')\n', property
503 send: 'RegExp.$1\nRegExp.$2\nRegExp.$3\nRegExp.$4\nRegExp.$5\n' + property
510 send: 'function x() {\nreturn \'\\n\';\n }', property
514 send: 'function x() {\nreturn \'\\\\\';\n }', property
519 send: 'function x() {\n//\'\n }', property
523 send: 'function x() {\n//"\n }', property
527 send: 'function x() {//\'\n }', property
531 send: 'function x() {//"\n }', property
535 send: 'function x() {\nvar i = "\'";\n }', property
539 send: 'function x(/*optional*/) {}', property
543 send: 'function x(/* // 5 */) {}', property
547 send: '// /* 5 */', property
551 send: '"//"', property
555 send: '"data /*with*/ comment"', property
559 send: 'function x(/*fn\'s optional params*/) {}', property
563 send: '/* \'\n"\n\'"\'\n*/', property
569 send: 'require("internal/repl")', property
585 send: "function x(s) {\nreturn s.replace(/'/,'');\n}", property
589 send: "function x(s) {\nreturn s.replace(/'/,'');\n}", property
593 send: 'function x(s) {\nreturn s.replace(/"/,"");\n}', property
597 send: 'function x(s) {\nreturn s.replace(/.*/,"");\n}', property
601 send: '{ var x = 4; }', property
607 send: 'a = 3.5e', property
617 send: 'function name(){ return "node"; };name()', property
621 send: 'function name(){ return "nodejs"; };name()', property
626 send: 'a = 3.5e', property
636 send: 'a = 3.5e', property
647 send: 'function* foo() {}; foo().next();', property
652 send: 'function *foo() {}; foo().next();', property
657 send: 'function*foo() {}; foo().next();', property
662 send: 'function * foo() {}; foo().next()', property
668 send: 'function foo() {\nvar bar = 1 / 1; // "/"\n}', property
673 send: '(function() {\nreturn /foo/ / /bar/;\n}())', property
678 send: '(function() {\nif (false) {} /bar"/;\n}())', property
684 send: 'new Proxy({x:42}, {get(){throw null}});', property
688 send: 'repl.writer.options.showProxy = false, new Proxy({x:42}, {});', property
694 send: '`foo \n`', property
699 send: ' \t \n', property
704 send: '...[]', property
714 send: '.break', property
718 send: 'console.log("Missing comma in arg list" process.version)', property
727 send: 'x = {\nfield\n{', property
736 send: '(2 + 3))', property
745 send: 'if (typeof process === "object"); {', property
749 send: 'console.log("process is defined");', property
753 send: '} else {', property
762 send: 'console', property
798 send: '', property
802 send: 'invoke_me(333)', property
806 send: 'a += 1', property
810 send: `require(${JSON.stringify(moduleFilename)}).number`, property
814 send: 'import comeOn from \'fhqwhgads\'', property
825 send: 'import { export1, export2 } from "module-name"', property
836 send: 'import * as name from "module-name";', property
847 send: 'import "module-name";', property
858 send: 'import { export1 as localName1, export2 } from "bar";', property
869 send: 'import alias from "bar";', property
880 send: 'import alias, {namedExport} from "bar";', property