Soup.keys - shysolocup/stews GitHub Wiki
list of the soup's keys
type: Array
list: | pair: |
const { Soup } = require('stews');
let arr = new Soup([ 1, 2, 3 ]);
console.log(arr.keys); |
const { Soup } = require('stews');
let obj = new Soup({ key1: "val1", key2: "val2" });
console.log(obj.keys); |
[ "0", "1", "2" ] |
[ "key1", "key2" ] |