constant_.constant(value)
Creates a function that returns the same value that is used as the argument of _.constant.
1 2 3 | var stooge = {name: 'moe' }; stooge === _.constant(stooge)(); => true |
constant_.constant(value)
Creates a function that returns the same value that is used as the argument of _.constant.
1 2 3 | var stooge = {name: 'moe' }; stooge === _.constant(stooge)(); => true |
Designed by : w10schools
service@w10schools.com
Please login to continue.