Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/6dylan6/jdm
/ intersection
Method
intersection
function/magic.js:413–415 ·
view source on GitHub ↗
(a, b)
Source
from the content-addressed store, hash-verified
411
412
//交
413
intersection(a, b) {
414
return
a.filter(o => b.includes(o))
415
}
416
417
//交
418
different(a, b) {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected