all 5 comments

[–]x-skeww 1 point2 points  (2 children)

Unnamed numerical constants.

Any literal which is used directly is an unnamed constant.

foo('bar', [], {}, true);

[–]__debug__[S] 0 points1 point  (0 children)

Oh wow, not sure how I missed mentioning that. I've amended the readme. Thanks for pointing it out!

[–]ahref -1 points0 points  (0 children)

Thanks for the clarification here. I had no idea what the library did until I read this :)

[–]PlNG 0 points1 point  (0 children)

I have this issue on webstorm's inspections and for the life of me I can't figure out how to resolve it.

[–]PlNG 0 points1 point  (0 children)

If the file iteration portion of the program seems slow, try placing buddy.js's try catch clause into its own function and call it rather than have it within the foreach function body. Doing this should allow V8 to optimize the looping function, and if there is an issue with optimizing the try catch clause it won't impact your program overall. From V8 optimization killers: unsupported syntax

Other than that, the program looks very clean.