Closed teoli2003 closed 2 years ago
This is part of our project to update code to a more modern JS syntax.
This PR updates the decode-audio-data example:
const
let
In addition:
This doesn't change the use of XHR to fetch.
Tested on Firefox, Safari, and Chrome (macOS) via a local server as it uses XHR.
This is part of our project to update code to a more modern JS syntax.
This PR updates the decode-audio-data example:
const
andlet
where possibleIn addition:
This doesn't change the use of XHR to fetch.
Tested on Firefox, Safari, and Chrome (macOS) via a local server as it uses XHR.