📅  最后修改于: 2022-03-11 15:01:13.181000             🧑  作者: Mango
// The ?? double question mark operator means "if null"
String a = b ?? 'hello'; // This means a equals b, but if b is null then a equals 'hello'. It is like || in JavaScript
b ??= 'hello'; // If b is null then set it equal to 'hello'. Otherwise, don't change it