THT is in early Beta. We welcome contributors & feedback.

Map.length

length()

Description

Return the number of key/value pairs.

{ a: 1, b: 2, c: 3 }.length();
//= 3