Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/d3/d3-array
/ copy2
Function
copy2
test/blur-test.js:197–199 ·
view source on GitHub ↗
({data, width, height})
Source
from the content-addressed store, hash-verified
195
});
196
197
function
copy2({data, width, height}) {
198
return
{data: data.slice(), width, height};
199
}
200
201
function
round(x) {
202
return
Math.round(x * 1000) / 1000 || 0;
Callers
1
blur-test.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected