Learn JavaScript – Telegram
Learn JavaScript
100K subscribers
834 photos
14 videos
464 files
92 links
JavaScript Training Courses

💳 Paid ads by: https://telega.io/c/JavaScript_Trainings

🔰 Linkedin: @Linkedin_Learning
🧿 Udemy: @Zero_To_Mastery
📦 Python: @LearnPython3
🔅 Web Development: @Webdev_Trainings
Download Telegram
14 - Reactjs TypeScript.zip
231.1 MB
14 - Reactjs TypeScript
11👍5🔥3
15 - Nodejs Express TypeScript.zip
277.8 MB
15 - Nodejs Express TypeScript
12🔥4👍3
16 - Course Roundup.zip
21.7 MB
16 - Course Roundup
12🔥4👍1
⌨️ Alternatives to JavaScript's if…else statement

1️⃣ Switch Statement
Finds the matching value of an expression and executes the code block associated with the matching value.

2️⃣ Ternary Operator
Checks a condition and executes the first expression if the condition is true. Otherwise it runs the second expression.

3️⃣ Jump / Dispatch Table

Stores value-function pairs in an object to quickly fetch and run a function based on a value (which is treated as an object key).

4️⃣ Dynamic Dispatch
This pattern involves selecting which polymorphic method to call based on an object’s type.
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
👍4212👎1😁1
⌨️ JavaScript reduce(), some(), and every() method explained
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
👍309🔥9
⌨️ Loops in JavaScript
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
👍228
🔅 Learning the JavaScript Language

🌐 Author: Joe Chellman
🔰 Level: Beginner

Duration: 4h 7m

🌀 Gain a conversant understanding of JavaScript, including variables, types, objects, arrays, operators, control structures, loops, and functions.


📗 Topics: JavaScript

📤 Join Learn JavaScript for more courses
Please open Telegram to view this post
VIEW IN TELEGRAM
👍2017
Please open Telegram to view this post
VIEW IN TELEGRAM
👍1916
I know I know, you probably won't ever need to swap two variables. But this is a cool demonstration for how the destructuring assignment works in JavaScript.

This syntax is used to take an array or items in the right hand side and assign them to correspondingly positioned variables in the left hand side.

👉 We use that here to assign b to a, and a to b.
👍417