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

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -