diff --git a/src/utils/CollectionUtils.js b/src/utils/CollectionUtils.js index c52535c100f..70c568feb86 100644 --- a/src/utils/CollectionUtils.js +++ b/src/utils/CollectionUtils.js @@ -95,7 +95,7 @@ define(function (require, exports, module) { * @return {boolean} True if the object contains the property */ function hasProperty(object, property) { - return Object.prototype.hasOwnProperty.apply(object, [property]); + return Object.prototype.hasOwnProperty.call(object, property); } // Define public API