Detect es6 features enable or not.