Open
Description
The usage of let
in index.js line 55 triggers the following error when I use this module in Node 4 LTS:
Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
Adding a 'use strict';
at the start of the main export fixes it. In this case, it should also be valid to just change the let
to var
.
Metadata
Metadata
Assignees
Labels
No labels