babeljs - disable es6 features in Chrome 45.0.2454.93 -


in chrome 45.x, few features of es6 seems enabled default, experimental flags not enabled:

class model {  constructor(properties) {     this.properties = properties; }  toobject() {     return this.properties; } } 

is there way disable this? reason is, i'd use transpiler babel transpile code es5, es6 disabled, can more realistic test in chrome, possible? thanks,

a.c.

open chrome://flags/#disable-javascript-harmony-shipping , enable feature. disable harmony(es6) features.


Comments

Popular posts from this blog

xml - Extract substrings with XSLT -

math - "ELO Rating" and how does "TSR Rating" work? -

How can do a tuple comparison in coffeescript similar to that in python? -