Bump to v4.17.5.

This commit is contained in:
John-David Dalton
2018-02-02 21:16:59 -08:00
parent 955537d67f
commit 6339af7cb1
16 changed files with 225 additions and 113 deletions

21
_safeGet.js Normal file
View File

@@ -0,0 +1,21 @@
define([], function() {
/** Used as a safe reference for `undefined` in pre-ES5 environments. */
var undefined;
/**
* Gets the value at `key`, unless `key` is "__proto__".
*
* @private
* @param {Object} object The object to query.
* @param {string} key The key of the property to get.
* @returns {*} Returns the property value.
*/
function safeGet(object, key) {
return key == '__proto__'
? undefined
: object[key];
}
return safeGet;
});