});
});
- describe("~", () => {
+ describe("()", () => {
it("[[Call]] throws an error", () => {
assertThrows(() => {
createProxyConstructor({})();
});
});
- describe("~is[[.name]]", () => {
+ describe("().is[[.name]]", () => {
it("[[GetOwnProperty]] defines the appropriate method", () => {
assertNotStrictEquals(
Object.getOwnPropertyDescriptor(
});
});
- describe("~length", () => {
+ describe("().length", () => {
it("[[GetOwnProperty]] has the correct descriptor", () => {
assertEquals(
Object.getOwnPropertyDescriptor(
});
});
- describe("~name", () => {
+ describe("().name", () => {
it("[[GetOwnProperty]] has the correct descriptor", () => {
assertEquals(
Object.getOwnPropertyDescriptor(
});
});
- describe("~prototype", () => {
+ describe("().prototype", () => {
it("[[GetOwnProperty]] has the correct descriptor", () => {
assertEquals(
Object.getOwnPropertyDescriptor(
});
});
- describe("~revocable", () => {
+ describe("().revocable", () => {
it("[[Call]] produces a revocable proxy", () => {
const obj = {};
const proxyConstructor = createProxyConstructor({