- stripAndCollapseASCIIWhitespace,
- stripLeadingAndTrailingASCIIWhitespace,
+ stripAndCollapseAsciiWhitespace,
+ stripLeadingAndTrailingAsciiWhitespace,
["๐
ฐ๏ธ", "๐
ฑ๏ธ", "๐", "๐
พ๏ธ"],
);
});
it("[[Call]] splits on sequences of tabs", () => {
assertEquals(
["๐
ฐ๏ธ", "๐
ฑ๏ธ", "๐", "๐
พ๏ธ"],
);
});
it("[[Call]] splits on sequences of tabs", () => {
assertEquals(
["๐
ฐ๏ธ", "๐
ฑ๏ธ", "๐", "๐
พ๏ธ"],
);
});
it("[[Call]] splits on sequences of carriage returns", () => {
assertEquals(
["๐
ฐ๏ธ", "๐
ฑ๏ธ", "๐", "๐
พ๏ธ"],
);
});
it("[[Call]] splits on sequences of carriage returns", () => {
assertEquals(
["๐
ฐ๏ธ", "๐
ฑ๏ธ", "๐", "๐
พ๏ธ"],
);
});
it("[[Call]] splits on sequences of newlines", () => {
assertEquals(
["๐
ฐ๏ธ", "๐
ฑ๏ธ", "๐", "๐
พ๏ธ"],
);
});
it("[[Call]] splits on sequences of newlines", () => {
assertEquals(
["๐
ฐ๏ธ", "๐
ฑ๏ธ", "๐", "๐
พ๏ธ"],
);
});
it("[[Call]] splits on sequences of form feeds", () => {
assertEquals(
["๐
ฐ๏ธ", "๐
ฑ๏ธ", "๐", "๐
พ๏ธ"],
);
});
it("[[Call]] splits on sequences of form feeds", () => {
assertEquals(
["๐
ฐ๏ธ", "๐
ฑ๏ธ", "๐", "๐
พ๏ธ"],
);
});
it("[[Call]] splits on mixed whitespace", () => {
assertEquals(
["๐
ฐ๏ธ", "๐
ฑ๏ธ", "๐", "๐
พ๏ธ"],
);
});
it("[[Call]] splits on mixed whitespace", () => {
assertEquals(
["๐
ฐ๏ธ", "๐
ฑ๏ธ", "๐", "๐
พ๏ธ"],
);
});
it("[[Call]] returns an array of just the empty string for the empty string", () => {
["๐
ฐ๏ธ", "๐
ฑ๏ธ", "๐", "๐
พ๏ธ"],
);
});
it("[[Call]] returns an array of just the empty string for the empty string", () => {
["a\u202F\u205F\xa0\v\0\bb"],
);
});
it("[[Call]] trims leading and trailing whitespace", () => {
assertEquals(
["a\u202F\u205F\xa0\v\0\bb"],
);
});
it("[[Call]] trims leading and trailing whitespace", () => {
assertEquals(
"\f\r\n\r\n \n\t๐
ฐ๏ธ\f \t\n๐
ฑ๏ธ\r๐\n\f๐
พ๏ธ\n\f",
),
["๐
ฐ๏ธ", "๐
ฑ๏ธ", "๐", "๐
พ๏ธ"],
"\f\r\n\r\n \n\t๐
ฐ๏ธ\f \t\n๐
ฑ๏ธ\r๐\n\f๐
พ๏ธ\n\f",
),
["๐
ฐ๏ธ", "๐
ฑ๏ธ", "๐", "๐
พ๏ธ"],
});
describe(".length", () => {
it("[[Get]] returns the correct length", () => {
});
describe(".length", () => {
it("[[Get]] returns the correct length", () => {
});
});
describe(".name", () => {
it("[[Get]] returns the correct name", () => {
assertStrictEquals(
});
});
describe(".name", () => {
it("[[Get]] returns the correct name", () => {
assertStrictEquals(
- splitOnASCIIWhitespace.name,
- "splitOnASCIIWhitespace",
+ splitOnAsciiWhitespace.name,
+ "splitOnAsciiWhitespace",
"๐
ฐ๏ธ ๐
ฑ๏ธ ๐ ๐
พ๏ธ",
);
});
it("[[Call]] trims leading and trailing whitespace", () => {
assertStrictEquals(
"๐
ฐ๏ธ ๐
ฑ๏ธ ๐ ๐
พ๏ธ",
);
});
it("[[Call]] trims leading and trailing whitespace", () => {
assertStrictEquals(
"\f\r\n\r\n \n\t\f ๐
ฐ๏ธ\f \t\n๐
ฑ๏ธ\r\n\r๐\n\f๐
พ๏ธ\n\f",
),
"๐
ฐ๏ธ ๐
ฑ๏ธ ๐ ๐
พ๏ธ",
"\f\r\n\r\n \n\t\f ๐
ฐ๏ธ\f \t\n๐
ฑ๏ธ\r\n\r๐\n\f๐
พ๏ธ\n\f",
),
"๐
ฐ๏ธ ๐
ฑ๏ธ ๐ ๐
พ๏ธ",
"a\u202F\u205F\xa0\v\0\bb",
);
});
it("[[Construct]] throws an error", () => {
"a\u202F\u205F\xa0\v\0\bb",
);
});
it("[[Construct]] throws an error", () => {
});
describe(".length", () => {
it("[[Get]] returns the correct length", () => {
});
describe(".length", () => {
it("[[Get]] returns the correct length", () => {
});
});
describe(".name", () => {
it("[[Get]] returns the correct name", () => {
assertStrictEquals(
});
});
describe(".name", () => {
it("[[Get]] returns the correct name", () => {
assertStrictEquals(
- stripAndCollapseASCIIWhitespace.name,
- "stripAndCollapseASCIIWhitespace",
+ stripAndCollapseAsciiWhitespace.name,
+ "stripAndCollapseAsciiWhitespace",
"\f\r\n\r\n \n\t\f ๐
ฐ๏ธ๐
ฑ๏ธ๐๐
พ๏ธ\n\f",
),
"๐
ฐ๏ธ๐
ฑ๏ธ๐๐
พ๏ธ",
"\f\r\n\r\n \n\t\f ๐
ฐ๏ธ๐
ฑ๏ธ๐๐
พ๏ธ\n\f",
),
"๐
ฐ๏ธ๐
ฑ๏ธ๐๐
พ๏ธ",
"\v\u202F\u205Fx\0\b\xa0",
),
"\v\u202F\u205Fx\0\b\xa0",
"\v\u202F\u205Fx\0\b\xa0",
),
"\v\u202F\u205Fx\0\b\xa0",
});
describe(".length", () => {
it("[[Get]] returns the correct length", () => {
assertStrictEquals(
});
describe(".length", () => {
it("[[Get]] returns the correct length", () => {
assertStrictEquals(
describe(".name", () => {
it("[[Get]] returns the correct name", () => {
assertStrictEquals(
describe(".name", () => {
it("[[Get]] returns the correct name", () => {
assertStrictEquals(
- stripLeadingAndTrailingASCIIWhitespace.name,
- "stripLeadingAndTrailingASCIIWhitespace",
+ stripLeadingAndTrailingAsciiWhitespace.name,
+ "stripLeadingAndTrailingAsciiWhitespace",