Y
Yan Huang
Hi,
Following is a repost from the group Opera.general. Hope someone can
help me out. Many thanks!
I want to some JavaScript code in Opera that uses methods such as
Object.prototype.toSource, Function.prototype.toSource, ..., and
Array.prototype.toSource etc, which are specific to Firefox's
Spidermonkey implementation. Also, the Function.prototype.toString
method in Opera is also different from that in Firefox. Anyone has an
idea how to adapt my script code to make it behave the same as in
Spidermonkey?
In addition, I have a related more general question on JavaScript's
reflection capability. For example, Function.prototype.toSource method
meets important reflection needs. Anyone knows more pointers on this
topic?
Thanks,
Yan Huang
Following is a repost from the group Opera.general. Hope someone can
help me out. Many thanks!
I want to some JavaScript code in Opera that uses methods such as
Object.prototype.toSource, Function.prototype.toSource, ..., and
Array.prototype.toSource etc, which are specific to Firefox's
Spidermonkey implementation. Also, the Function.prototype.toString
method in Opera is also different from that in Firefox. Anyone has an
idea how to adapt my script code to make it behave the same as in
Spidermonkey?
In addition, I have a related more general question on JavaScript's
reflection capability. For example, Function.prototype.toSource method
meets important reflection needs. Anyone knows more pointers on this
topic?
Thanks,
Yan Huang