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