In Javascript, if there is an object with a lot of properties that can functions, how do you convert
Posted
by Jian Lin
on Stack Overflow
See other posts from Stack Overflow
or by Jian Lin
Published on 2010-06-13T07:27:10Z
Indexed on
2010/06/13
7:32 UTC
Read the original article
Hit count: 202
JavaScript
|stringification
In Javascript, if an object has lots of properties that are functions:
var obj = { foo: function() { ... },
bar: function() { ... },
...
}
then how can you get an array of names of those functions? That is, an array
["foo", "bar", ... ]
thanks.
© Stack Overflow or respective owner