From 7d7e6e10b9737bdce655f9fe149402827ad7f0f3 Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Fri, 2 Oct 2015 12:27:18 +0200 Subject: [PATCH] Properly use Object.prototype.hasOwnProperty(). --- packages/xo-collection/src/collection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/xo-collection/src/collection.js b/packages/xo-collection/src/collection.js index 84388f2fc..8d9c74480 100644 --- a/packages/xo-collection/src/collection.js +++ b/packages/xo-collection/src/collection.js @@ -10,7 +10,7 @@ import isObject from './is-object' const { create: createObject, - hasOwnProperty + prototype: { hasOwnProperty } } = Object // ===================================================================