📜  typescript 比较字符串 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:35.858000             🧑  作者: Mango

代码示例1
const s1: string = "foobar";
const s2: string = "foobar";
const s3: string = "foobar_";
console.log(s1 === s2); // true
console.log(s1 === s3); // false