diff --git a/Libraries/LibJS/Tests/object-basic.js b/Libraries/LibJS/Tests/object-basic.js index 36c047682f..5b3b78fb19 100644 --- a/Libraries/LibJS/Tests/object-basic.js +++ b/Libraries/LibJS/Tests/object-basic.js @@ -40,11 +40,11 @@ describe("correct behavior", () => { }); test("numeric keys", () => { - const hex = {0x10: "16"}; - const oct = {0o10: "8"}; - const bin = {0b10: "2"}; - const float = {.5: "0.5"}; - + const hex = { 0x10: "16" }; + const oct = { 0o10: "8" }; + const bin = { 0b10: "2" }; + const float = { 0.5: "0.5" }; + expect(hex["16"]).toBe("16"); expect(oct["8"]).toBe("8"); expect(bin["2"]).toBe("2");