librespeed / speedtest

Self-hosted Speed Test for HTML5 and more. Easy setup, examples, configurable, mobile friendly. Supports PHP, Node, Multiple servers, and more
https://librespeed.org
GNU Lesser General Public License v3.0
12.05k stars 2.18k forks source link

Using of the modern JS #656

Closed IRainman closed 1 month ago

IRainman commented 1 month ago

Changed var to let/const because it's completely supported by IE11 and all other browsers since 2015.

adolfintel commented 1 month ago

Thanks.

I was about to recommend getting rid of all those useless bind(this) but it looks like IE11 needs them even when using let and const.