Matthieu Riou wrote:
> Hi,
>
> Array and String generics have been introduced in Javascript 1.6 (see
> [1]), however using the Rhino trunk when I do:
>
> $ java -jar 3rdparty/rhino-1.7R1pre.jar -version 170
> js> String.replace
> js>
>
> Which shows that the function is unknown. Is this implemented in
> Rhino?
>
> Thanks,
> Matthieu
>
> [1] http://developer.mozilla.org/en/docs/New_in_JavaScript_1.6

No, this was apparently not implemented in Rhino back when the new
Array methods were implemented.

I'm working on it now.

--N
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to