* Cross-window, cross-Node-context regular expression detection * @param {Object} object Anything * @return {Boolean} true if the object is a regular expression, * false otherwise
(object)
| 158 | * false otherwise |
| 159 | */ |
| 160 | function isRegExp(object) { |
| 161 | return Object.prototype.toString.call(object) === "[object RegExp]"; |
| 162 | } |
| 163 | |
| 164 | // return the actual prototype of JSZip |
| 165 | var out = { |