Modern JavaScript Tutorial #2 – Syntax Basics & Types




💻 Get the full Modern JavaScript (novice to ninja) course from Udemy. Discount auto applied:
https://www.thenetninja.co.uk/udemy/modern-javascript

In this modern JavaScript tutorial we’ll take a look at the language syntax – comments, semicolons, using variables etc. We’ll also discuss some of the types in JavaScript – strings, numbers, null, undefined, & booleans.

—————————————-

🐱‍💻 🐱‍💻 Course Links:

+ Course files – https://github.com/iamshaunjp/modern-javascript

Original source


44 responses to “Modern JavaScript Tutorial #2 – Syntax Basics & Types”

  1. Hi Ninja,
    two easy questions :
    I'm a beginner but I saw when I wrote a variable score = 75; without the var, let or const keyword, I can use console.log(score); and the result in the console is the same, and indeed I wonder why do we need to use those keywords if the result is the same without ?
    Question 2 :

    let firstName = 'Brandon';

    let lastName = 'Sanderson';

    console.log(`${firstName} ${lastName}`);
    Is this use backticks more "modern" than yours at 20.23? I ask you that because I would like to use the most modern syntax?

    Great job, bon travail. (I'm challenging myself to learn JS in English, indeed I'm a french, big challenge).

  2. "var" defines GLOBAL variables or variables that are accessible throughout the program; "let" allows you to LIMIT THE SCOPE to a block of code for what would otherwise be the same kind of variable as a "var."

  3. i rely need to express my pain and feeling over super hyped udemy.udemy is fast becoming frustrating,i had issue on my password ,mre than two days after complaining no remedy response after paying to subcribe for a javascript course…..udemy is making me to lose interest in the course i payed for

  4. Hi. Nice course. Love the way you explain and talk! I've got a question: Why do you use single quotes instead of grave accents? The Google & airbnb JavaScript style guides (https://google.github.io/styleguide/jsguide.html, https://github.com/airbnb/javascript#strings) advise to use single quotes for strings, which is exactly what you do, but then you can't use ${} to insert variables inside strings, a method both guides also advise to prevent string concatenation with +, which is discouraged.

  5. Hello I've been following your tutorials for a long time now and I'm actually starting my own online series but I'm not getting very clear audio and video. Any tips to ensure very good quality would be much appreciated. Thanks.

Leave a Reply