Targeting at JavaScript Versions or Features

One of the vital parts of building a library, a framework, or original code that interacts directly with the browser is the need to test and validate compatibility with the browser.

  • The important decision is: should we focus on the JavaScript version or feature availability?
  • Create a pure JavaScript onLoad script
  • Learn JavaScript feature detection and workarounds