Lines Matching refs:key
102 * @param {String} key Property name to look for.
106 owns = O.owns = function (obj, key) {
107 return !!obj && hasOwn.call(obj, key);
115 * @param {String} key Property name to look for.
148 i, key, len;
151 for (key in obj) {
152 if (owns(obj, key) && key !== 'prototype') {
153 keys.push(key);
157 for (key in obj) {
158 if (owns(obj, key)) {
159 keys.push(key);
166 key = forceEnum[i];
168 if (owns(obj, key)) {
169 keys.push(key);
239 * receives the value, the key, and the object itself as parameters (in that
249 * @param {String} fn.key Key of the current property.
258 var key;
260 for (key in obj) {
261 if (proto || owns(obj, key)) {
262 fn.call(thisObj || Y, obj[key], key, obj);
271 * function returns a truthy value. The function receives the value, the key,
281 * @param {String} fn.key Key of the current property.
290 var key;
292 for (key in obj) {
293 if (proto || owns(obj, key)) {
294 if (fn.call(thisObj || Y, obj[key], key, obj)) {