Nine important things and a bonus point you should know about JavaScript and web development.

Alzahidrabbi
3 min readMay 5, 2021

Later on in this article, I will tell you a bonus point. Read to the end and discover the bonus point.

  1. Number

In JavaScript, you often hear about Integer. This represents the value of the number. There is another type of number in javascript called float.

See the two examples of integer numbers and float numbers.

Integer = 5

Float = 5.10

2. String

The string is another important thing in javascript. The string looks like an alphabetical form. Such as, “Hello World!”. Sometimes strings can look like a number. Such as “1234”. But it’s not a number. In javascript when a character is wrapped by a single or double quote then it should be strong and it will have no mathematical value.

3. Boolean

Sometimes your answer will be either true or false. To solve this type of issue javascript has a boolean. It defines the answer as true or false. For example

Lets say, a = 5 and b = 10

and the condition is c = a>b then it will be false

4. Function

The function is the most important thing of javascript. The function is like a machine. When you put something into a machine then the machine will give you the same thing but in a special form. Javascript functions should start with functions. for example:

function add(x, y) {

constant total = x + y;

return total;

}

usually, the function should have function names. but if you use an anonymous function, you can ignore it.

5. Object

There are a lot of used objects in javascript. Objects should wrap by “{}” curly braces. You can set multiple properties in a single object. each property should have a value.

6. Array

The array is a single variable but it can store multiple elements. It can hold multiple objects also. Array work very much like objects. In the array, each item has a unique index number. The index number starts with zero.

7. Variable

A Javascript variable is one kind of container that can store data values. Variables can be declared by var, let, or constant. Each has a different role. let allows the user to declare a block-level variable.

var is most common because it is from the beginning. var can be global.

const has a strict role. You can use const multiple times.

8. Operators

For arithmetical calculation purposes, javascript has Operators. Such as,

= Assignment operator

+ Addition operator

- Subtraction Operator

-= Subtraction Assignment

*= Multiplication Assignment

/= Division Assignment

% modulus operator

etc.

9. Symbol

It is one kind of build function in javascript. It’s dedicated to adding unique properties to an object. You have to write Symbol() to create a primitive symbol.

Bonus Point: SSL

SSL is a special kind of security system for a website. You probably noticed that some websites start with HTTP:// and some website URL starts with HTTPS://. Here you can see extra “s” after HTTP. This is the SSL. The elaboration of SSL is Transport Layer Security. It’s an extra layer of security for websites.

--

--