From 5e1439d13b9097f6c33b25f6af4e25ffda09611a Mon Sep 17 00:00:00 2001 From: Sergio Santoro Date: Fri, 13 May 2016 12:25:41 +0200 Subject: [PATCH] Fix JSDoc (#2219) --- lib/browser/events.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/browser/events.js b/lib/browser/events.js index 314016910b..b4342f6202 100644 --- a/lib/browser/events.js +++ b/lib/browser/events.js @@ -5,7 +5,7 @@ exports.EventEmitter = EventEmitter; /** - * Object#hasOwnProperty reference. + * Object#toString reference. */ var objToString = Object.prototype.toString; @@ -14,7 +14,7 @@ var objToString = Object.prototype.toString; * * @api private * @param {*} val The value to test. - * @return {boolean} true if the value is a boolean, otherwise false. + * @return {boolean} true if the value is an array, otherwise false. */ function isArray(val) { return objToString.call(val) === '[object Array]';