Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
7
class
FakeInput extends PassThrough {}
8
9
function
extend(k) {
10
return
Object.assign({ ctrl: false, meta: false, shift: false }, k);
11
}
12
13
14
const
fi =
new
FakeInput();
Callers
nothing calls this directly
Calls
1
assign
Method · 0.80
Tested by
no test coverage detected