3 ms·
Can it handle multiple invocations of same argument? For example: ./foo.js -x 1 -x 2 -x 3 (should give an array [1, 2, 3] for 'x')
by ajays 15y ago
Can it handle multiple invocations of same argument? For example:
./foo.js -x 1 -x 2 -x 3
(should give an array [1, 2, 3] for 'x')