Quick note: line 9 is missing the 2nd ")".
Current: console.log(unixMatch('somefile,txt', '*');
Corrected: console.log(unixMatch('somefile,txt', '*'));
Cheers
4
7
10