值得一提的是,在Dart的条件语句 if 和 assert 表达式里面,它们的值必须是 bool 类型,这点和JavaScript 不同。 var s = ''; assert(s.isEmpty); if(s.
確定! 回上一頁