propertyOf_.propertyOf(object)
Inverse of _.property. Takes an object and returns a function which will return the value of a provided property.
1 2 3 | var stooge = {name: 'moe' }; _.propertyOf(stooge)( 'name' ); => 'moe' |
propertyOf_.propertyOf(object)
Inverse of _.property. Takes an object and returns a function which will return the value of a provided property.
1 2 3 | var stooge = {name: 'moe' }; _.propertyOf(stooge)( 'name' ); => 'moe' |
Designed by : w10schools
service@w10schools.com
Please login to continue.