UNPKG

266 BJavaScriptView Raw
1import slice$ from './slice$';
2/**
3 * Gets values from right.
4 * @param x an array (updated)
5 * @param n number of values (1)
6 * @returns x
7 */
8function right$(x, n = 1) {
9 return slice$(x, x.length - n);
10}
11export default right$;
12//# sourceMappingURL=index.js.map
\No newline at end of file