* 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)
| 1755 | * false otherwise |
| 1756 | */ |
| 1757 | function isRegExp(object) { |
| 1758 | return Object.prototype.toString.call(object) === "[object RegExp]"; |
| 1759 | } |
| 1760 | |
| 1761 | // return the actual prototype of JSZip |
| 1762 | var out = { |