just
A function which takes an argument and returns a function, when invoked, returns the argument.
Arguments
value
(Any): The value to return.
Returns
(Function): A function, when invoked, returns the value.
Example
Last updated
Was this helpful?