Roadmap to becoming a developer in 2022
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Prashant Singh e9dd0942e1
added content to - prototypal inheritance, implicti type casting, keyed collections, structured data, break continue, labeled statements, comparison operators, string operators, conditional operators (#2032)
2 years ago
..
100-assignment-operators.md Assignment operator + free Resources (#1635) 3 years ago
101-omparison-operators.md added content to - prototypal inheritance, implicti type casting, keyed collections, structured data, break continue, labeled statements, comparison operators, string operators, conditional operators (#2032) 2 years ago
102-arithmetic-operators.md Adding Arithmetic & Bitwise operators - JS roadmap (#1878) 2 years ago
103-bitwise-operators.md Adding Arithmetic & Bitwise operators - JS roadmap (#1878) 2 years ago
104-logical-operators.md Add logical operators docs (#1742) 2 years ago
105-bigint-operators.md Add descriptions to JavaScript Conditional Operators, BigInt Operators, and Break Continue statements (#2003) 2 years ago
106-string-operators.md added content to - prototypal inheritance, implicti type casting, keyed collections, structured data, break continue, labeled statements, comparison operators, string operators, conditional operators (#2032) 2 years ago
107-conditional-operators.md added content to - prototypal inheritance, implicti type casting, keyed collections, structured data, break continue, labeled statements, comparison operators, string operators, conditional operators (#2032) 2 years ago
108-comma-operators.md feat: add js comma operator content (#1829) 2 years ago
109-unary-operators.md Add unary operators resources (#1743) 2 years ago
110-relational-operators.md Update 110-relational-operators.md (#1744) 2 years ago
readme.md Add content for expressions and operators (#1618) 3 years ago

readme.md

Expressions and Operators

At a high level, an expression is a valid unit of code that resolves to a value. There are two types of expressions: those that have side effects (such as assigning values) and those that purely evaluate. The expression x = 7 is an example of the first type. This expression uses the = operator to assign the value seven to the variable x. The expression itself evaluates to 7. The expression 3 + 4 is an example of the second type. This expression uses the + operator to add 3 and 4 together and produces a value, 7. However, if it's not eventually part of a bigger construct (for example, a variable declaration like const z = 3 + 4), its result will be immediately discarded this is usually a programmer mistake because the evaluation doesn't produce any effects. As the examples above also illustrate, all complex expressions are joined by operators, such as = and +.

Free Content Expressions and operators