diff --git a/src/core/Common.js b/src/core/Common.js index a740f9a..eddce2a 100644 --- a/src/core/Common.js +++ b/src/core/Common.js @@ -245,7 +245,7 @@ module.exports = Common; * @return {boolean} True if the object is a string, otherwise false */ Common.isString = function(obj) { - return toString.call(obj) === '[object String]'; + return Object.prototype.toString.call(obj) === '[object String]'; }; /**