mirror of
https://github.com/10h30/odin-javascript-exercises.git
synced 2026-07-14 04:06:07 +09:00
+13
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Gets the argument placeholder value for `func`.
|
||||
*
|
||||
* @private
|
||||
* @param {Function} func The function to inspect.
|
||||
* @returns {*} Returns the placeholder value.
|
||||
*/
|
||||
function getHolder(func) {
|
||||
var object = func;
|
||||
return object.placeholder;
|
||||
}
|
||||
|
||||
module.exports = getHolder;
|
||||
Reference in New Issue
Block a user