2 'Test for function.name'
5 shouldBe("(function f() {}).name", "'f'");
6 shouldBe("delete (function f() {}).name", "true");
7 shouldBe("(function() {}).name", "''");
8 shouldBe("Math.name", "undefined");
9 shouldBe("Error.name", "'Error'");
10 shouldBe("String.prototype.charAt.name", "'charAt'");
11 shouldBe("document.getElementById.name", "'getElementById'");