TC39
Chained comparison syntax
💡 Ideas
mightyiam
December 10, 2019, 1:44pm
1
Would it be a good idea to introduce a chained comparison syntax?
For example,
Python has them
.
2 Likes
A new conditioning way, compare multiple right hand values.
Operators: ||==, ||===
Related topics
Topic
Replies
Views
Activity
Operators: ||==, ||===
💡 Ideas
proposal
37
1620
October 28, 2024
Problems of ||==, ||=== etc. and an alternative
💡 Ideas
proposal
13
165
July 16, 2024
Sibling-level optional chaining - new operator/syntax using pipe `|`
💡 Ideas
proposal
10
535
December 20, 2023
Proposal: Boolean Chaining
💡 Ideas
proposal
0
392
May 26, 2023
A new conditioning way, compare multiple right hand values.
💡 Ideas
proposal
18
491
November 2, 2023