Introduction to Javascript 2020 part 1

Its 2020 guys let talk about Javascript, We all know that Javascript is a high-level , just-in-time compiled, object-oriented programming language that conforms to the ECMAScript specifications, also Javascript has curly-bracket syntax, dynamic typing, prototype-based object-orientated, and first-class functions.

In this introductory class, we will split the content into parts and discuss each concepts briefly in each parts, my goal is to bring to you a closer look or difference view to javascript in 2020.

With no time to waste, if you are either a professional/expert in other programming languages, or absolute beginner I assume you are taking javascript the first time maybe second nor third, or you are just starting the coding journey and javascript is the language you wish to start with, In this part and other parts to come i will introduce you to the basic of JavaScript and show you how it all works, stay with me let learn.

Variable Declaration

Variables are used to store values in the memory of a computer, assign the value to a specified name called the variable name.

 Let PersonAge = 23 
 Const ShoeSize = 43
 //PersonAge Is A Variable Name
 //23 Is The Value Assigned To PersonAge And Its Stored In The Computer Memory

To declare variable in javascript we use the const or let keyword, the different between the two keyword are
const variables are also constant, they can’t be changed or manipulated once declared, if you try to change const variables as seen below javascript will prompt an error, While let variable can be changed or manipulated later in the program.

The shoeSize variable remains 44 throughout the code execution.
Variable names in javascript are mostly camelCases e.g personAge

Leave a Comment

Your email address will not be published. Required fields are marked *