Lines Matching defs:const
2 const common = require('../common');
3 const assert = require('assert');
5 const { MessageChannel, MessagePort } = require('worker_threads');
8 const { port1, port2 } = new MessageChannel();
12 const input = { a: 1 };
21 const { port2 } = new MessageChannel();
32 const { port1, port2 } = new MessageChannel();
49 const { port1, port2 } = new MessageChannel();
51 const input = { a: 1 };
64 const { port1, port2 } = new MessageChannel();
66 const input = { a: 1 };
68 const dummy = common.mustNotCall();
86 const { port1, port2 } = new MessageChannel();
95 const err = {
106 const err2 = {
131 const { port1, port2 } = new MessageChannel();
137 const ab = new ArrayBuffer(10);
143 const ab = new ArrayBuffer(10);
149 const ab = new ArrayBuffer(10);
155 const ab = new ArrayBuffer(10);
167 const c1 = new MessageChannel();
168 const c2 = new MessageChannel();