* Converts `func` to its source code. * * @private * @param {Function} func The function to convert. * @returns {string} Returns the source code.
(func)
| 6861 | * @returns {string} Returns the source code. |
| 6862 | */ |
| 6863 | function toSource(func) { |
| 6864 | if (func != null) { |
| 6865 | try { |
| 6866 | return funcToString.call(func); |
| 6867 | } catch (e) {} |
| 6868 | try { |
| 6869 | return (func + ''); |
| 6870 | } catch (e) {} |
| 6871 | } |
| 6872 | return ''; |
| 6873 | } |
| 6874 | |
| 6875 | /** |
| 6876 | * Updates wrapper `details` based on `bitmask` flags. |
no outgoing calls
no test coverage detected