Matthew Browne
1 min readFeb 18, 2018

--

Hi…what code did you use for your benchmarks? As far as I can tell, the section on performance is inaccurate, at least in Chrome as of version 59, and even more inaccurate for earlier versions. As of version 59, .bind() and arrow functions have equivalent performance (thanks to https://codereview.chromium.org/2916063002/). In earlier versions, .bind() is actually *slower*. I agree that regular methods should be preferred when you don’t need a bound function, and they will indeed perform better — that part is accurate. I found the arguments about prototypes compelling, and otherwise liked the article.

--

--