Skip to content

Commit ff2eb06

Browse files
committed
Update:修正错误
1 parent 59a1041 commit ff2eb06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/c01/c01_06.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ func main() {
269269
// && 两边的表达式都会执行
270270
fmt.Println( age > 18 && gender == "male")
271271
// gender == "male" 并不会执行
272-
fmt.Println( age > 18 || gender == "male")
272+
fmt.Println( age < 18 || gender == "male")
273273
}
274274

275275
// output: false

0 commit comments

Comments
 (0)