Basic Javascript (108/111) | Use the Conditional Ternary Operator | freeCodeCamp

Pubblicato il: 16 dicembre 2020
sul canale di: Stral Tech
807
8

Basic Javascript (108/111) | Use the Conditional Ternary Operator | freeCodeCamp

Full playlist 👉    • Basic JavaScript (1/111) | Comment Your Ja...  

"The conditional operator, also called the ternary operator, can be used as a one line if-else expression.

The syntax is:
condition ? expression-if-true : expression-if-false;

Use the conditional operator in the checkEqual function to check if two numbers are equal or not. The function should return either "Equal" or "Not Equal".

https://www.freecodecamp.org/learn/ja...


In questa pagina del sito puoi guardare il video online Basic Javascript (108/111) | Use the Conditional Ternary Operator | freeCodeCamp della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Stral Tech 16 dicembre 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 807 volte e gli è piaciuto 8 spettatori. Buona visione!