//does almost the same as var, use only when it actually is going to change or is variable
letvaribleValue;
//only assigned a value once and never again, aka a constant value
constvaribleValue;
//this a function in JavaScript which is used to print any kind of variables defined before in it or to just print any message that needs to be displayed to the user
console.log(variable);
//normal js function would look like this
functionmyFunction(){
}
//arrow functions
//advantage: whenyou use "this" it wil always point to what you think its going to
constmyFunction=()=>{
//list of arguments inside ()
}
//if you have a function that oly returns you could write it like this