mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-02 08:35:07 +08:00
9 lines
323 B
TypeScript
9 lines
323 B
TypeScript
const a: string = "hello";
|
|
const b: string = "world";
|
|
console.log(a + " " + b);
|
|
console.log(a === "hello", a === b, a !== b);
|
|
console.log("abc" < "abd", "a" < "ab", "b" > "aaaa");
|
|
console.log("" + 42, 42 + "", true + "!");
|
|
console.log("quotes \" and backslash \\ and\nnewline");
|
|
console.log("unicode: αβγ 你好 🎉");
|