What is JS?

Jayden·2021년 1월 14일

JavaScript Studying

목록 보기
2/11

https://github.com/jonasschmedtmann/complete-javascript-course

What is JS?

it's a high level object-oriented,

multi-paradigm programming language.

All you need to know is that these are basically tools
that make writing modern, large scale web applications, a lot easier and faster.

For example, it's possible to use JavaScript on a web server

using a very popular technology called Node.js,

which doesn't need any browser at all.

And this allows us to create so-called backend applications,


And what that means is that JavaScript

can also run outside of web browsers.

For example, it's possible to use JavaScript on a web server using a very popular technology called Node.js, which doesn't need any browser at all.

And this allows us to create so-called backend applications, which are simply applications that run on a web server

and interact with databases and stuff like that.

On the other hand, when we use JavaScript in the browser,

we create so-called front end applications.'


let     js     =     "amazing"
variable          value

the 7 primitive data types

Template literals
we can write a string in a more normal way,
and then basically insert the variables directly into the string and then they will simply be replaced.
So basically a template literal can assemble multiple pieces into one final string.


Section 2-22
===   strict equality operator. And so it only returns to when both values are exactly the same.  does not perform type coercion
==   the loose equality operator,  does type coercion


2-26
Logical Operators
switch


2-27

1991 even though it's just a simple value. But it's still also an expression, because again, this itself will produce a value in JavaScript.
So all of this here, is an expression, right? true false Because this will in the end, produce some Boolean value.

a declaration is like a complete sentence

and expressions are like the words that make up the sentences

and that expressions produce values, and that statements are like full sentences that translate our actions.
So the actions that we want the program to perform, okay?


So I said that this string here is itself an expression. And then this whole line of code is a statement,
because this again does not produce a value.

And so basically, whenever something ends with a semicolon, that's then a statement.


Ternary operator : 3항 연산자

profile
G'day mate!

1개의 댓글

comment-user-thumbnail
2023년 3월 9일

who need help improving their coding skills hanafuda earrings , daily game solve cross

답글 달기