pairs_.pairs(object)
Convert an object into a list of [key, value] pairs.
1 2 | _.pairs({one: 1, two: 2, three: 3}); => [[ "one" , 1], [ "two" , 2], [ "three" , 3]] |
pairs_.pairs(object)
Convert an object into a list of [key, value] pairs.
1 2 | _.pairs({one: 1, two: 2, three: 3}); => [[ "one" , 1], [ "two" , 2], [ "three" , 3]] |
Designed by : w10schools
service@w10schools.com
Please login to continue.