refactor: replace var with const / let (#14866)

This commit is contained in:
Milan Burda 2018-09-29 01:17:00 +02:00 committed by Samuel Attard
parent b42493e6e6
commit c61db523c7
26 changed files with 195 additions and 201 deletions

View file

@ -1,5 +1,5 @@
this.onconnect = function (event) {
var port = event.ports[0]
const port = event.ports[0]
port.start()
port.onmessage = function (event) {
port.postMessage(event.data)