Fundamental JavaScript You Need to know

Fundamental JavaScript You Need to know

JavaScript a language which works in a multiple way and makes its self quite interesting by its multipurpose activity. In this post we will learn the basics of Javascript

JavaScript a language which works in a multiple way and makes its self quite interesting by its multipurpose activity.

Js has 2 kinds of values as the first one is ​Primitive Values​, and

then there are ​Objects and Functions​.​ But it has 9 separate types in this two values.

● Undefined​ (undefined), used for unintentionally missing values.

● Null​ (null), used for intentionally missing values.

● Booleans​ (true and false), used for logical operations.

● Numbers​ (-100, 3.14, and others), used for math calculations.

● Strings​ (“hello”, “abracadabra”, and others), used for text.

● Symbols​ (uncommon), used to hide implementation details.

● BigInts​ (uncommon and new), used for math on big numbers.

● Objects​ ({} and others), used to group related data and code.

● Functions​ (x => x * 3 and others), used to refer to code.

In this types Null And Undefined are the lonely one.

If we ask questions in expressions to Js they give us the answer.For example, the 3+ 3 expression is answered with 6.

We can inspect the type of any element by using expression typeof . For example, typeof(5) is the string value “number”.

var coding-style function javascript fundamentals

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Function Expression vs Function Declaration in JavaScript

In this article, we will acquaint ourselves with three simple terms: function declaration, function expression, and hoisting.

The Difference Between Regular Functions and Arrow Functions in JavaScript

<p>Other then the syntactical differences. The main difference is the way the this keyword behaves? In an arrow function, the this keyword remains the same throughout the life-cycle of the function and is always bound to the value of this in the...

Principles of Functional Programming in JavaScript That Will Make Your Coding Life Easier

Who else loves to write side-effects-free functions? I think we, as programmers, all do. Today, in this story, I will walk you through the basic principles of functional programming that will make your coding life easier.

JavaScript Fundamentals. Function expression vs. Function declaration

In JavaScript, we have three ways to write any functions: function declaration, function expression, and arrow functions. In this tutorial, you'll learn JavaScript Fundamentals. Function expression vs. function declaration.

4 Ways You Can Get Rid of Dirty Side Effects for Cleaner Code in JavaScript

4 Ways You Can Get Rid of Dirty Side Effects for Cleaner Code in JavaScript. Bugs are born in many ways. Creating side effects is one of them. Some people say side effects are evil, some say they’re not.