How to define non DONTENUM function without using defineFunctionProperties

29 views
Skip to first unread message

Naoki Yano

unread,
May 16, 2012, 1:48:21 AM5/16/12
to mozilla-rhino
Hi,

I want to define enumerable function using JSFunction.
I tried the following code but hoge becomes DONTENUM.

@JSFunction
public void hoge() {
}

I'm using Rhino 1.7R3.

Is there no way to define non DONTENUM functions without using
defineFunctionProperties?
Reply all
Reply to author
Forward
0 new messages