Subj : Re: Rhino Javascript features To : "Edwin S. Ramirez" From : Igor Bukanov Date : Thu Oct 02 2003 09:47 am Igor Bukanov wrote: > Edwin S. Ramirez wrote: > >> Hello, >> >> Is the following supported by Rhino: >> >> js> o = new Object; >> [object Object] >> js> o = {a:7, get b() {return this.a+1; }, set c(x) {this.a = x/2}}; >> [object Object] >> js> o.a >> 7 >> js> o.b >> 8 >> js> o.c = 50 >> js> o.a >> 25 >> js> >> >> How about o.toSource()? >> > > Rhino neither supports getters and setters nor toSource and its close > friend uneval ;). ^^^^^^^^ That should be :( . .