Version: v0.5.1 - Beta.  We welcome contributors & feedback.  THanks!

Map.length

length()

Description

Return the number of key/value pairs.

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

See Also