Lines Matching refs:array
27 var array = [0, 1, 2, undefined];
56 return array;
71 shouldBeUndefined("JSON.stringify(array, returnUndefined)");
74 shouldBe("JSON.stringify(array, returnObjectFor1)", '\'[0,{},2,null]\'');
77 shouldBe("JSON.stringify(array, returnArrayFor1)", '\'[0,[],2,null]\'');
80 shouldBe("JSON.stringify(array, returnUndefinedFor1)", '\'[0,null,2,null]\'');
83 shouldBe("JSON.stringify(array, returnFunctionFor1)", '\'[0,null,2,null]\'');
86 shouldBe("JSON.stringify(array, returnNullFor1)", '\'[0,null,2,null]\'');
89 shouldBe("JSON.stringify(array, returnStringForUndefined)", '\'[0,1,2,"undefined value"]\'');
92 shouldThrow("JSON.stringify(array, returnCycleObjectFor1)");
95 shouldThrow("JSON.stringify(array, returnCycleArrayFor1)");