yui/yui3 — pull request #1949 by lexander (2014-08-26 22:50:45+00:00)
Title: Allow immediate invocation of wrapped function

Current version of `throttle` will prevent the immediate invocation of the wrapped function because the `last` var is being set to function creation time instead of being set upon the first invocation of the function.

I found this while running the unit tests that already exist for the class...