Lines Matching defs:const
10 const assert = require('assert');
11 const { customInspectSymbol: inspect } = require('internal/util');
13 const encoded = Buffer.from([0xef, 0xbb, 0xbf, 0x74, 0x65,
21 const enc = new TextEncoder();
24 const buf = enc.encode('\ufefftest€');
29 const enc = new TextEncoder();
30 const buf = enc.encode();
35 const enc = new TextEncoder();
36 const buf = enc.encode(undefined);
41 const inspectFn = TextEncoder.prototype[inspect];
42 const encodeFn = TextEncoder.prototype.encode;
43 const encodingGetter =
46 const instance = new TextEncoder();
48 const expectedError = {
58 const invalidThisArgs = [{}, [], true, 1, '', new TextDecoder()];