We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88b088b commit 98a6f7dCopy full SHA for 98a6f7d
1 file changed
src/physics/matter-js/lib/core/Common.js
@@ -221,7 +221,7 @@ module.exports = Common;
221
* @return {boolean} True if the object is a string, otherwise false
222
*/
223
Common.isString = function(obj) {
224
- return toString.call(obj) === '[object String]';
+ return Object.prototype.toString.call(obj) === '[object String]';
225
};
226
227
/**
0 commit comments