-
Notifications
You must be signed in to change notification settings - Fork 0
Soup.length
paige edited this page Nov 13, 2023
·
1 revision
length of the soup
type: Number
alt names:
- size
list: | pair: |
const { Soup } = require('stews');
let arr = new Soup([ 1, 2, 3 ]);
console.log(arr.length); |
const { Soup } = require('stews');
let obj = new Soup({ key1: "val1", key2: "val2" });
console.log(obj.length); |
3 |
2 |