Small node test code
npm install
node index.js basket1.txt
node index.js basket2.txt
The basket files are expected to be with UNIX line endings. If working with WINDOWS line endings, change line 21 to:
basket = basket.split('\r\n');
Small node test code
Small node test code
npm install
node index.js basket1.txt
node index.js basket2.txt
The basket files are expected to be with UNIX line endings. If working with WINDOWS line endings, change line 21 to:
basket = basket.split('\r\n');
Small node test code