On 2009.02.12., at 11:10, Patrick Dobbs wrote:

typeof(x) works from javascript, but if type info is needed then the sender of this thread post is presumably trying to call a function defined inside a js script from Java.

That was my impression too.

Since javascript is untyped, I presume that if you don't know beforehand what type parameters the js function expects, it's impossible to work it out through reflection from Java.

That's correct.

I'd be interested to learn otherwise.

I'm afraid you will not :-)

ie javascript doesn't have parameter types.

Correct.

Attila.

FoxZ wrote:
On 10 fév, 07:51, vivekoc...@gmail.com wrote:
how to get parameter types of a javascript function compiled using
rhino?????
typeof(x)
sorry

_______________________________________________
dev-tech-js-engine-rhino mailing list
dev-tech-js-engine-rhino@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to