search

Home  >  Q&A  >  body text

javascript - Looking for answers, developing with ES6, how to use ordinary JS plug-ins

Yesterday I used gulp's babel browserify to build and develop using ES6 (non-react, vue),

There is a problem with plug-in introduction. Most js plug-ins on the market are not developed using ES6 syntax. So how can they be used directly when writing code in ES6?

If you need to modify the plug-in, how to modify it?

我想大声告诉你我想大声告诉你2775 days ago756

reply all(1)I'll reply

  • 大家讲道理

    大家讲道理2017-06-12 09:31:08

    Can be used directly, es6 is backward compatible.

    reply
    0
  • Cancelreply