100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
JavaScript Basics For Beginners $3.49   Add to cart

Other

JavaScript Basics For Beginners

 0 view  0 purchase
  • Course
  • Institution

This is the updated version which includes a more modern syntax and just better overall structure now. I have a lot of JavaScript courses and tutorials on my channel, but this is definitely the first one to watch if you are looking to learn JavaScript. So this will get you started with the basic sy...

[Show more]

Preview 1 out of 3  pages

  • March 14, 2023
  • 3
  • 2022/2023
  • Other
  • Unknown
avatar-seller
JavaScript Crash Course For Beginners




This is the updated version which includes a more modern syntax and just better overall
structure now. I have a lot of JavaScript courses and tutorials on my channel, but this is
definitely the first one to watch if you are looking to learn JavaScript. So this will get you
started with the basic syntax and all the fundamentals. I’m going to go over what we’ll
cover in this crash course in a minute.


JavaScript is the language of the front end, meaning the browser, but you can also run it
on the server for more powerful things like interacting with databases and stuff like that.
That’s done by using a JavaScript runtime called Node.js, which is beyond the scope of
this tutorial. I do have a 21-hour course on Udemy called Modern JavaScript from the
Beginning that I’ll put in the description. It aims to learn the fundamentals of JavaScript
so I’m going to go a little faster than usual. Just because there’s so much to cover in
terms of just the fundamentals. I have a four-part course on the DOM using JavaScript
with the Document Object Model (DOM).


Every browser has what are called developer tools and you can use the javascript
console where you can output and you can also run javascript in the console. On
Chrome you can open it with command option I on a Mac you can toggle it that way or
f12 on Windows. There are three ways to set variables in javascript. var lets you set a
variable in a specific location, const is short for constant which means it can't be
changed and can't be reassigned, and we have primitive data types which means that the
data is directly assigned to memory.


We have strings, numbers, boolean, and symbol. We're not going to go over symbols
because it's beyond the scope of this tutorial, but let's create some variables that are
some of these data types.


In the first implementation of JavaScript, values were represented as a type tag and the
value with the type tag for objects being zero and null was represented as the null
pointer. Null is a bogus type of return value so as you can see here that that return value
from type is bogus. Using ES6 or ES2015, we could do console.log and we want to use
instead of quotes backticks. If we want the age variable to stop the string concatenate
and since we're at the end, we just get rid of that and save. Now again, my name is John
and I am 30. This is kind of the old way of doing it.

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller therahu. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $3.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75323 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$3.49
  • (0)
  Add to cart