MCPcopy Create free account
hub / github.com/nodejs/node / extend

Function extend

test/parallel/test-readline-keys.js:9–11  ·  view source on GitHub ↗
(k)

Source from the content-addressed store, hash-verified

7class FakeInput extends PassThrough {}
8
9function extend(k) {
10 return Object.assign({ ctrl: false, meta: false, shift: false }, k);
11}
12
13
14const fi = new FakeInput();

Callers

nothing calls this directly

Calls 1

assignMethod · 0.80

Tested by

no test coverage detected