MCPcopy Create free account
hub / github.com/algorithm-visualizer/algorithm-visualizer / classes

Function classes

src/common/util.js:1–1  ·  view source on GitHub ↗
(...arr)

Source from the content-addressed store, hash-verified

1const classes = (...arr) => arr.filter(v => v).join(' ');
2
3const distance = (a, b) => {
4 const dx = a.x - b.x;

Callers 1

index.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected