Bump to v4.17.11.

This commit is contained in:
John-David Dalton
2018-09-11 22:42:07 -07:00
parent cc483eda91
commit 349273409f
6 changed files with 11 additions and 9 deletions

View File

@@ -7,9 +7,11 @@
* @returns {*} Returns the property value.
*/
function safeGet(object, key) {
return key == '__proto__'
? undefined
: object[key];
if (key == '__proto__') {
return;
}
return object[key];
}
export default safeGet;