6 shouldBe("count", "10");
9 for (var i = 0; i < 10; i++) {
14 shouldBe("count", "5");
18 for (i = 0; i < 10; i++) {
21 shouldBe("count", "10");
30 properties += (prop + "=" + obj[prop] + ";");
32 shouldBe("properties", "'a=11;b=22;'");
34 // now a test verifying the order. not standardized but common.
40 // shouldBe("properties", "'abyx'");
46 for ( var j in arr ) {
47 list += "[" + j + "]=" + arr[j] + ";";
49 shouldBe("list","'[0]=100;[1]=101;'");
52 for (var a = [1,2,3], length = a.length, i = 0; i < length; i++) {
55 shouldBe("list", "'123'");