mdn / learning-area

GitHub repo for the MDN Learning Area.

Home Page:https://developer.mozilla.org/en-US/Learn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Javascript file using var instead of const

py-pkulk opened this issue · comments

Though not a big deal, the finished .js file under /javascript/apis/video-audio/finsihed/custom-player.js is using "var" for declaring the variables.

However, the instructions mentioned here https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Client-side_web_APIs/Video_and_audio_APIs are using "const" declaration.

Yes, it would be good if that could be fixed. The file is in github - do you think you could update it and re-upload?