« All deprecation guides

Deprecation Guide for Ember.keys

Ember.keys is deprecated in favor for Object.keys. For more information regarding Object.keys, please read the MDN documentation.

const food = Ember.keys({
  yellow: 'banana',
  green: 'pickle'
});

to

const food = Object.keys({
  yellow: 'banana',
  green: 'pickle'
});