mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-01-30 05:27:30 +00:00
6 lines
125 B
TypeScript
6 lines
125 B
TypeScript
import negativeArray = require('negative-array');
|
|
|
|
const unicorn = negativeArray(['pony', 'cake', 'rainbow']);
|
|
|
|
unicorn[-1];
|