Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@extra-array/last

Package Overview
Dependencies
Maintainers
1
Versions
398
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@extra-array/last - npm Package Compare versions

Comparing version
2.9.46
to
2.9.47
+1
-1
example.js

@@ -5,2 +5,2 @@ const array = require('extra-array');

array.last([]);
array.last([], -1);
{
"name": "@extra-array/last",
"version": "2.9.46",
"version": "2.9.47",
"description": "Gets last value.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -19,4 +19,4 @@ Gets last value. [:running:] [:vhs:] [:package:] [:moon:] [:ledger:]

array.last([]);
// undefined
array.last([], -1);
// -1
```

@@ -23,0 +23,0 @@