Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 02_.md #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1 +1 @@
The variable `greaterAB` holds false because 1 is not greater than 2. The variable `equalA1` will be true because the variable `a` is holding the integer value of 1. The examples above are very simple examples of how booleans are used in JavaScript. However, statements like these are what we need to build functional programs or sites in the future, so make sure you understand why the expressions evaluate to `true` and `false` respectively.
The variable `greaterAB` holds false because 1 is not greater than 2. The variable `equalA1` will be true because the variable `a` is holding the integer value of 1. The examples above are very simple examples of how booleans are used in JavaScript. However, statements like these are what we need to build functional programs or sites in the future, so make sure you understand why the expressions evaluate to `true` and `false` respectively.