mirror of
https://github.com/alrayyes/wiki.git
synced 2025-07-24 09:49:34 +00:00
Quartz sync: May 6, 2024, 10:40 PM
This commit is contained in:
parent
aee9145691
commit
4ef8371441
635 changed files with 22281 additions and 6 deletions
19
content/20201030093832-javascript_if_statement.md
Normal file
19
content/20201030093832-javascript_if_statement.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
id: 3791e37d-c3cd-4e61-8802-76eeee25c08b
|
||||
title: JavaScript If Statement
|
||||
---
|
||||
|
||||
# Syntax
|
||||
|
||||
``` javascript
|
||||
if(true === true) {
|
||||
console.log("True is true")
|
||||
}
|
||||
|
||||
if (true === false) {
|
||||
console.log("True is false")
|
||||
}
|
||||
else {
|
||||
console.log("True is not false")
|
||||
}
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue