We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Flattens nested array to given depth.
array.get(x, i); // x: a nested array // i: index (-ve: from right) // --> value
const array = require('extra-array'); var a = [2, 4, 6, 8]; array.get(a, 0); // 2 array.get(a, 1); // 4 array.get(a, -1); // 8