MCPcopy Create free account
hub / github.com/arguiot/TheoremJS / reverse.js

File reverse.js

src/includes/functions/array/reverse.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1reverse(array) {
2 return array.slice(0).reverse() // duplicate and reverse to duplicate the array
3}

Callers

nothing calls this directly

Calls 1

reverseMethod · 0.80

Tested by

no test coverage detected