g.js — graphical objects for JavaScript

countcount

Count the number of items in the list.

g.count([1, 2, 3, 4, 5]);

Parameters

  • l: The input list.