showing results for - "pairs"
Laura
25 Jul 2020
1function pairs(obj) {
2  var _keys = keys(obj);
3  var length = _keys.length;
4  var pairs = Array(length);
5  for (var i = 0; i < length; i++) {
6    pairs[i] = [_keys[i], obj[_keys[i]]];
7  }
8  return pairs;
9}
similar questions
queries leading to this page
pairs