main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
390 bytes
|
Line | |
---|
1 | import baseSetToString from './_baseSetToString.js';
|
---|
2 | import shortOut from './_shortOut.js';
|
---|
3 |
|
---|
4 | /**
|
---|
5 | * Sets the `toString` method of `func` to return `string`.
|
---|
6 | *
|
---|
7 | * @private
|
---|
8 | * @param {Function} func The function to modify.
|
---|
9 | * @param {Function} string The `toString` result.
|
---|
10 | * @returns {Function} Returns `func`.
|
---|
11 | */
|
---|
12 | var setToString = shortOut(baseSetToString);
|
---|
13 |
|
---|
14 | export default setToString;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.