Skip to content

Commit

Permalink
nowarning
Browse files Browse the repository at this point in the history
  • Loading branch information
sosiristseng committed Dec 27, 2023
1 parent 143d7bb commit e7b668f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/intro-01-first-steps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,10 @@ https://en.wikipedia.org › wiki › Short-circuit_evaluation).
===#

# && evaluates and returns the second argument if the first is true
true && println("Hi")
(2 > 1) && println("Hi")

# && otherwise returns false
false && println("Hi")
(2 < 1) && println("Hi")

# `if` block has return value(s)
let score = 10
Expand Down

0 comments on commit e7b668f

Please sign in to comment.