Javascript Set Race Helper

check out at my Github

This is what you want if you wish to let something happen right after certain conditions are met with clean code.

Example:

See the Pen SetRace Simple Example by Xingchen Hong (@Zodiase) on CodePen.0