Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ iterableWith
Function
iterableWith
test/parallel/test-fs-promises-writefile.js:36–42 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
34
};
35
36
function
iterableWith(value) {
37
return
{
38
*[Symbol.iterator]() {
39
yield value;
40
}
41
};
42
}
43
const
bufferIterable = {
44
expected:
'abc'
,
45
*[Symbol.iterator]() {
Callers
1
doWriteInvalidIterable
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected