Re:Using Dispatch Tables to Avoid Conditionals in JavaScript
by jeffamcgee on Monday May 13, 2013 @11:54AM
(#5699374)
If you use es5-shim (https://github.com/kriskowal/es5-shim), you can say movePlayer.bind(this, "north") on older browsers.
[ Parent
| on HN ]
There are no comments on this comment yet.