Skip to content

Commit 5e1439d

Browse files
taueresdasilvacontin
authored andcommitted
Fix JSDoc (#2219)
1 parent 3904da4 commit 5e1439d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/browser/events.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
exports.EventEmitter = EventEmitter;
66

77
/**
8-
* Object#hasOwnProperty reference.
8+
* Object#toString reference.
99
*/
1010
var objToString = Object.prototype.toString;
1111

@@ -14,7 +14,7 @@ var objToString = Object.prototype.toString;
1414
*
1515
* @api private
1616
* @param {*} val The value to test.
17-
* @return {boolean} true if the value is a boolean, otherwise false.
17+
* @return {boolean} true if the value is an array, otherwise false.
1818
*/
1919
function isArray(val) {
2020
return objToString.call(val) === '[object Array]';

0 commit comments

Comments
 (0)