UNPKG

theorem.js

Version:

A Math library for computation in JavaScript

4 lines (3 loc) 100 B
reverse(array) { return array.slice(0).reverse() // duplicate and reverse to duplicate the array }