Loading repository data…
Loading repository data…
juancolchete / repository
This repo, aims to solve the freecodecamp course of JavaScript Algorithms and Data Structures Certification
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
This repo, aims to solve the freecodecamp course of JavaScript Algorithms and Data Structures Certification
Comments are lines of code that JavaScript will intentionally ignore. Comments are a great way to leave notes to yourself and to other people who will later need to figure out what that code does.
statement
solution
video
In computer science, data is anything that is meaningful to the computer. JavaScript provides eight different data types which are undefined, null, boolean, string, symbol, bigint, number, and object.
statement
solution
In JavaScript, you can store a value in a variable with the assignment operator (=).
statement
solution
After a value is assigned to a variable using the assignment operator, you can assign the value of that variable to another variable using the assignment operator.
statement
solution
It is common to initialize a variable to an initial value in the same line as it is declared.
statement
solution
When JavaScript variables are declared, they have an initial value of undefined. If you do a mathematical operation on an undefined variable your result will be NaN which means "Not a Number". If you concatenate a string with an undefined variable, you will get a literal string of undefined.
statement
solution
We can also multiply one number by another.
statement
solution
In JavaScript all variables and function names are case sensitive. This means that capitalization matters.
statement
solution
Number is a data type in JavaScript which represents numeric data.
statement
solution
We can also subtract one number from another.
statement
solution
We can also divide one number by another.
statement
solution
You can easily increment or add one to a variable with the ++ operator.
statement
solution
You can easily decrement or decrease a variable by one with the -- operator.
statement
solution
We can store decimal numbers in variables too. Decimal numbers are sometimes referred to as floating point numbers or floats.
statement
solution
In JavaScript, you can also perform calculations with decimal numbers, just like whole numbers.
statement
solution
Now let's divide one decimal by another.
statement
solution
The remainder operator % gives the remainder of the division of two numbers.
statement
solution
In programming, it is common to use assignments to modify the contents of a variable.
statement
solution
Like the += operator, -= subtracts a number from a variable.
statement
solution
The *= operator multiplies a variable by a number.
statement
solution
The /= operator divides a variable by another number.
statement
solution
Create two new string variables: myFirstName and myLastName and assign them the values of your first and last name, respectively.
statement
solution
In JavaScript, you can escape a quote from considering it as an end of string quote by placing a backslash (\) in front of the quote.
statement
solution
String values in JavaScript may be written with single or double quotes, as long as you start and end with the same type of quote. Unlike some other programming languages, single and double quotes work the same in JavaScript.
statement
solution
Quotes are not the only characters that can be escaped inside a string.
statement
solution
In JavaScript, when the + operator is used with a String value, it is called the concatenation operator. You can build a new string out of other strings by concatenating them together.
statement
solution
We can also use the += operator to concatenate a string onto the end of an existing string variable. This can be very helpful to break a long string over several lines.
statement
[solution](https://github.com/juanudk/JavaScriptA