You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
280 B

4 years ago
  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. module.exports = getHolder;