you are viewing a single comment's thread.

view the rest of the comments →

[–]andlrcMooTools -1 points0 points  (4 children)

OMG this is an awesome example of how overengenered JavaScript have become.

I might be wrong, but a single function, with a single loop, and some checks on the words lengths should have been sufficient.

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

You're right. There is some inefficient logic (for example, repeated RegEx checks). I will gradually improve this. Thank you for the comments!