Files
lodash/.internal/setToString.js
John-David Dalton 6cb3460fce Remove semicolons.
2017-02-05 22:22:04 -08:00

15 lines
386 B
JavaScript

import baseSetToString from './baseSetToString.js'
import shortOut from './shortOut.js'
/**
* Sets the `toString` method of `func` to return `string`.
*
* @private
* @param {Function} func The function to modify.
* @param {Function} string The `toString` result.
* @returns {Function} Returns `func`.
*/
const setToString = shortOut(baseSetToString)
export default setToString