We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3904da4 commit 5e1439dCopy full SHA for 5e1439d
lib/browser/events.js
@@ -5,7 +5,7 @@
5
exports.EventEmitter = EventEmitter;
6
7
/**
8
- * Object#hasOwnProperty reference.
+ * Object#toString reference.
9
*/
10
var objToString = Object.prototype.toString;
11
@@ -14,7 +14,7 @@ var objToString = Object.prototype.toString;
14
*
15
* @api private
16
* @param {*} val The value to test.
17
- * @return {boolean} true if the value is a boolean, otherwise false.
+ * @return {boolean} true if the value is an array, otherwise false.
18
19
function isArray(val) {
20
return objToString.call(val) === '[object Array]';
0 commit comments