find.js #1

  • //
  • guest/
  • jen_bottom/
  • ember/
  • tutorial/
  • testapp/
  • node_modules/
  • es5-ext/
  • object/
  • find.js
  • View
  • Commits
  • Open Download .zip Download (280 B)
"use strict";

var findKey = require("./find-key")
  , isValue = require("./is-value");

// eslint-disable-next-line no-unused-vars
module.exports = function (obj, cb /*, thisArg, compareFn*/) {
	var key = findKey.apply(this, arguments);
	return isValue(key) ? obj[key] : key;
};
# Change User Description Committed
#1 23539 jenbottom Adding the basic code for ember test appk, created with 'ember new' command