* Check that a / b have the same type. * * @param {Object} a * @param {Object} b * @return {Boolean} * @api private
(a, b)
| 2089 | */ |
| 2090 | |
| 2091 | function sameType(a, b) { |
| 2092 | a = Object.prototype.toString.call(a); |
| 2093 | b = Object.prototype.toString.call(b); |
| 2094 | return a == b; |
| 2095 | } |
| 2096 | |
| 2097 | }); // module: reporters/base.js |
| 2098 |