-
Couldn't load subscription status.
- Fork 5
last
Subhajit Sahu edited this page Jun 20, 2020
·
20 revisions
array.last(x, [vd]);
// x: an array
// vd: default valueconst array = require('extra-array');
array.last([1, 2, 3]);
// 3
array.last([]);
// undefined