Last change
on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
280 bytes
|
Line | |
---|
1 | /**
|
---|
2 | * Gets the argument placeholder value for `func`.
|
---|
3 | *
|
---|
4 | * @private
|
---|
5 | * @param {Function} func The function to inspect.
|
---|
6 | * @returns {*} Returns the placeholder value.
|
---|
7 | */
|
---|
8 | function getHolder(func) {
|
---|
9 | var object = func;
|
---|
10 | return object.placeholder;
|
---|
11 | }
|
---|
12 |
|
---|
13 | module.exports = getHolder;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.