UNPKG

@litecanvas/utils

Version:

Utilities to help build litecanvas games

8 lines (7 loc) 139 B
/** * Gets all but the first element of an array * * @param {T[]} values * @returns {T} */ export default (values) => values.slice(1)