Skip to content
Subhajit Sahu edited this page Mar 14, 2020 · 17 revisions

Gets values except last.

array.init(x);
// x: an array
// --> except last
const array = require('extra-array');

array.init([1, 2, 3]);
// [1, 2]

array.init([1]);
// []

references

Clone this wiki locally