mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-27 07:33:57 +00:00
commit
09109e8632
@ -223,7 +223,7 @@ example14() {
|
|||||||
// statically typed null can not be convert to bool
|
// statically typed null can not be convert to bool
|
||||||
var c = "abc";
|
var c = "abc";
|
||||||
c = null;
|
c = null;
|
||||||
// complie failed
|
// compile failed
|
||||||
// if (c) {
|
// if (c) {
|
||||||
// print("true, c is $c");
|
// print("true, c is $c");
|
||||||
// } else {
|
// } else {
|
||||||
|
Loading…
Reference in New Issue
Block a user