Appframe Knowledge Base


1 hits
0

Using af.common.getObjKeys - Getting all they keys of an object as an array

/* Calling the af.common.getObjKeys function on an object will return all its keys as an array
   of strings. The order of the strings is the order they were added to the object. */

af.common.getObjKeys({ a: 1, b: 2, c: 3 });
// Returns: ["a", "b", "c"]

common web · Perma link post comment Posted by: Jan Henrik H. Meling (05-okt-2012)