This is a test case for String.prototype.anchor(name). On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". PASS '_'.anchor('b') is "_" PASS '<'.anchor('b') is "<" PASS '_'.anchor(0x2A) is "_" PASS '_'.anchor('"') is "_" PASS '_'.anchor('" href="http://www.evil.com') is "_" PASS String.prototype.anchor.call(0x2A, 0x2A) is "42" PASS String.prototype.anchor.call(undefined) threw exception TypeError: Type error. PASS String.prototype.anchor.call(null) threw exception TypeError: Type error. PASS String.prototype.anchor.length is 1 PASS successfullyParsed is true TEST COMPLETE