Lines Matching defs:send
50 for (const { send, expect } of tests) { property
105 send: '', property
109 send: 'message', property
113 send: 'invoke_me(987)', property
117 send: 'a = 12345', property
121 send: '{a:1}', property
128 send: 'ref = 1', property
136 send: 'throw new Error(\'test error\');', property
140 send: "throw { foo: 'bar' };", property
145 send: 'function test_func() {', property
150 send: '.break', property
155 send: 'eval("function test_func() {")', property
160 send: '`io.js', property
165 send: '.break', property
170 send: '`io.js ${"1.0"', property
174 send: '+ ".2"}`', property
178 send: '`io.js ${', property
182 send: '"1.0" + ".2"}`', property
187 send: '("a"', property
191 send: '.charAt(0))', property
196 send: '.1234', property
201 send: '.1+.1', property
206 send: 'JSON.parse(\'{"valid": "json"}\');', property
212 send: 'JSON.parse(\'{invalid: \\\'json\\\'}\');', property
218 send: 'JSON.parse(\'066\');', property
223 send: 'JSON.parse(\'{\');', property
229 send: '/(/;', property
235 send: 'new RegExp("foo", "wrong modifier");', property
240 send: '(function() { "use strict"; return 0755; })()', property
249 send: '(function(a, a, b) { "use strict"; return a + b + c; })()', property
258 send: '(function() { "use strict"; with (this) {} })()', property
267 send: '(function() { "use strict"; var x; delete x; })()', property
276 send: '(function() { "use strict"; eval = 17; })()', property
285 send: '(function() { "use strict"; if (true) function f() { } })()', property
296 send: 'function blah() { return 1; }', property
300 send: 'blah()', property
305 send: 'var I = [1,2,3,function() {}]; I.pop()', property
310 send: '{ a: ', property
314 send: '1 }', property
319 send: '{ "a": ', property
323 send: '1 }', property
328 send: 'class Foo { #private = true ', property
333 send: 'num = 123456789n', property
338 send: 'static foo = "bar" }', property
343 send: '(function() {', property
347 send: '// blah', property
351 send: 'return 1n;', property
355 send: '})()', property
360 send: 'function f(){}; f(f(1,', property
364 send: '2)', property
368 send: ')', property
373 send: 'npm install foobar', property
380 send: '(function() {\n\nreturn 1;\n})()', property
384 send: '{\n\na: 1\n}', property
388 send: 'url.format("http://google.com")', property
392 send: 'var path = 42; path', property
398 send: '.invalid_repl_command', property
404 send: '.toString', property
409 send: '[] \\', property
419 send: '\'the\\\nfourth\\\neye\'', property
427 send: ' \t .break \t ', property
432 send: '\'the \\\n fourth\t\t\\\n eye \'', property
437 send: '\'the \\\n fourth\' + \'\t\t\\\n eye \'', property
442 send: '\'\\\n.break', property
447 send: '\'thefourth\\\n.help\neye\'', property
462 send: '{ a: 1 }.a', // ({ a: 1 }.a); property
466 send: '{ a: 1 }.a;', // { a: 1 }.a; property
475 send: '{ a: 1 }["a"] === 1', // ({ a: 1 }['a'] === 1); property
479 send: '{ a: 1 }["a"] === 1;', // { a: 1 }; ['a'] === 1; property
484 send: '\n\r\n\r\n', property
489 send: '\'the\\\n\\\nfourtheye\'\n', property
494 send: '/(.)(.)(.)(.)(.)(.)(.)(.)(.)/.test(\'123456789\')\n', property
499 send: 'RegExp.$1\nRegExp.$2\nRegExp.$3\nRegExp.$4\nRegExp.$5\n' + property
506 send: 'function x() {\nreturn \'\\n\';\n }', property
510 send: 'function x() {\nreturn \'\\\\\';\n }', property
515 send: 'function x() {\n//\'\n }', property
519 send: 'function x() {\n//"\n }', property
523 send: 'function x() {//\'\n }', property
527 send: 'function x() {//"\n }', property
531 send: 'function x() {\nvar i = "\'";\n }', property
535 send: 'function x(/*optional*/) {}', property
539 send: 'function x(/* // 5 */) {}', property
543 send: '// /* 5 */', property
547 send: '"//"', property
551 send: '"data /*with*/ comment"', property
555 send: 'function x(/*fn\'s optional params*/) {}', property
559 send: '/* \'\n"\n\'"\'\n*/', property
565 send: 'require("internal/repl")', property
581 send: "function x(s) {\nreturn s.replace(/'/,'');\n}", 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: '{ var x = 4; }', property
603 send: 'a = 3.5e', property
613 send: 'function name(){ return "node"; };name()', property
617 send: 'function name(){ return "nodejs"; };name()', property
622 send: 'a = 3.5e', property
632 send: 'a = 3.5e', property
643 send: 'function* foo() {}; foo().next();', property
648 send: 'function *foo() {}; foo().next();', property
653 send: 'function*foo() {}; foo().next();', property
658 send: 'function * foo() {}; foo().next()', property
664 send: 'function foo() {\nvar bar = 1 / 1; // "/"\n}', property
669 send: '(function() {\nreturn /foo/ / /bar/;\n}())', property
674 send: '(function() {\nif (false) {} /bar"/;\n}())', property
680 send: 'new Proxy({x:42}, {get(){throw null}});', property
684 send: 'repl.writer.options.showProxy = false, new Proxy({x:42}, {});', property
690 send: '`foo \n`', property
695 send: ' \t \n', property
700 send: '...[]', property
710 send: '.break', property
714 send: 'console.log("Missing comma in arg list" process.version)', property
723 send: 'x = {\nfield\n{', property
732 send: '(2 + 3))', property
741 send: 'if (typeof process === "object"); {', property
745 send: 'console.log("process is defined");', property
749 send: '} else {', property
758 send: 'console', property
794 send: '', property
798 send: 'invoke_me(333)', property
802 send: 'a += 1', property
806 send: `require(${JSON.stringify(moduleFilename)}).number`, property
810 send: 'import comeOn from \'fhqwhgads\'', property