Bump to v4.17.11.

This commit is contained in:
John-David Dalton
2018-09-11 22:29:45 -07:00
parent bbcefc5447
commit db0dbd39a7
6 changed files with 29 additions and 28 deletions

View File

@@ -1,8 +1,5 @@
define([], function() {
/** Used as a safe reference for `undefined` in pre-ES5 environments. */
var undefined;
/**
* Gets the value at `key`, unless `key` is "__proto__".
*
@@ -12,9 +9,11 @@ define([], function() {
* @returns {*} Returns the property value.
*/
function safeGet(object, key) {
return key == '__proto__'
? undefined
: object[key];
if (key == '__proto__') {
return;
}
return object[key];
}
return safeGet;