kaisellgren/ES-Transpiler — comment on commit 3d8c3a7a3240d83ebdab2853c482f1d89cd6655d
File: lib/lexer.js line 36
By Raynos:

Refactor this block inside the forEach into a little function and re-use it in the `else if(value) {` block.

Consider changing this to an `.any` loop and returning the match/matchLength item immediately.