Home | History | Annotate | Download | only in mjsunit

Lines Matching full:slice

152 slice = "abcdefghijklmn12345".slice(1, -1);
154 f(flat, cons, slice, i);
158 slice = "abcdefghijklmn1\u20232345".slice(1, -1);
160 f(flat, cons, slice, i);
167 slice = "abcdefghijklmn12345".slice(1, -1);
170 assertEquals("cdefg", slice.substr(1, 5));
175 slice = "abc\u1234defghijklmn12345".slice(1, -1);
178 assertEquals("c\u1234def", slice.substr(1, 5));
198 assertEquals(a.slice(1,-1), b);
204 assertEquals(a.slice(1,-1), b);
209 // Create a slice with an external string as parent string.
210 var c = a.slice(1,-1);