File: index.js

package info (click to toggle)
node-array-uniq 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 124 kB
  • sloc: makefile: 2
file content (5 lines) | stat: -rw-r--r-- 92 bytes parent folder | download | duplicates (2)
1
2
3
4
5
'use strict';

const arrayUniq = array => [...new Set(array)];

module.exports = arrayUniq;