remove ES6 features, ObjectPattern and ArrayPattern