test/script/basic/newexpr.js

changeset 77
d7e83be6e7aa
parent 7
5a1b0714df0e
child 952
6d5471a497fb
child 962
ac62e33a99b0
equal deleted inserted replaced
76:02f810c26ff9 77:d7e83be6e7aa
27 * @test 27 * @test
28 * @run 28 * @run
29 */ 29 */
30 30
31 var File = java.io.File; 31 var File = java.io.File;
32 print(new File(".").isDirectory()); 32 print(! new File(".").toString().isEmpty());
33 33
34 var obj = { 34 var obj = {
35 foo : function (x) { 35 foo : function (x) {
36 this.bar = x; 36 this.bar = x;
37 } 37 }

mercurial