<commit_before>import EnumerableUtils from "ember-metal/enumerable_utils";
import {create} from "ember-metal/platform";

/**
  Returns all of the keys defined on an object or hash. This is useful
  when inspecting objects for debugging. On browsers that support it, this
  uses the native `Object.keys` implementation.

  @method keys
  @for Ember
  @param {Object} obj
  @return {Array} Array containing keys of obj
*/
var keys = Object.keys;
if (keys || create.isSimulated) {
  var prototypeProperties = [
    'constructor',
    'hasOwnProperty',<commit_msg>[BUGFIX beta] use Object.keys when possible<commit_after>import EnumerableUtils from "ember-metal/enumerable_utils";
import {create} from "ember-metal/platform";

/**
  Returns all of the keys defined on an object or hash. This is useful
  when inspecting objects for debugging. On browsers that support it, this
  uses the native `Object.keys` implementation.

  @method keys
  @for Ember
  @param {Object} obj
  @return {Array} Array containing keys of obj
*/
var keys = Object.keys;
if (!keys || create.isSimulated) {
  var prototypeProperties = [
    'constructor',
    'hasOwnProperty',
{'fraction_non_alphanumeric': 0.09383145091225022, 'fraction_numerical': 0.0, 'mean_word_length': 4.260273972602739, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5034194', 'n_tokens_mistral': 335, 'n_tokens_neox': 322, 'n_words': 128}