-
Notifications
You must be signed in to change notification settings - Fork 0
Soup.length
github-actions[bot] edited this page Sep 30, 2024
·
2 revisions
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 |