-
Notifications
You must be signed in to change notification settings - Fork 7.5k
ES6 Features used in the source
Matthew McClure edited this page Apr 3, 2015
·
6 revisions
In the source code for Video.js we use ES6 -- new syntax features of the JavaScript language. When building the final video.js file these features get converted (transpiled) to JavaScript that is compatible with older browsers. If you're contributing to video.js, here's a guide of the features we use.
- Modules (import/export)
let
andconst
- Destructuring
Block-scoped binding constructs. let is the new var. const is single-assignment. Static restrictions prevent use before assignment babeljs.io
https://github.com/videojs/video.js.wiki.git Page not avaiable now.