mirror of
https://github.com/alrayyes/wiki.git
synced 2025-07-23 01:13:27 +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
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
id: 4a8846d3-a3c3-4edc-8fa1-a2de76f1094f
|
||||
title: JavaScript Conditional (Ternary) Operator
|
||||
---
|
||||
|
||||
# Syntax
|
||||
|
||||
``` javascript
|
||||
console.log(true ? 1 : 2)
|
||||
console.log(false ? 1 : 2)
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue