Implement === and !== string comparison operators (#1832)

This commit is contained in:
Rangi
2025-09-19 14:06:36 -04:00
committed by GitHub
parent 67741ab428
commit e31bcabbaa
4 changed files with 41 additions and 6 deletions

View File

@@ -0,0 +1,7 @@
assert "hello" === "hello"
assert "hello" !== "goodbye"
assert "game" ++ "boy" === "gameboy"
assert "fire flower" === "fire" ++ " " ++ "flower"
assert "a" === "b" == 0
assert 1 == "a" !== "b"
assert 1 + 2 * 3 ** "x" !== "y" == 7