Deep Tech Point
first stop in your tech adventure
Home / Javascript
November 17, 2021 | Javascript

This is simple question and may sound like the answer is also simple. However, there are few things you need to take into account when creating variables and assigning values just to be sure you’re not overwriting existing variables. It’s even more important in complex projects with multiple modules because it’s sometimes hard to keep track of each variable and their scope.

November 10, 2021 | Javascript

This article will teach you, with the help of a few examples, what you need to know about the continue statement. But, first, let’s define the continue statement, and see what the syntax looks like.

November 7, 2021 | Javascript

For starters one might ask why would anyone want to switch CORS off?
Cross-Origin Resource Sharing (CORS) is a part of HTTP header that indicate any origins (domain, scheme, or port) other than its own from which a browser should permit loading resources.
It’s security measure against plenty of web attack vectors. In simple terms CORS (Cross-Origin Resource Sharing) mean you can’t get web resource from different domain, only from the same domain from which your original resource is loaded. Practically, if your web page is on domain xy.com then some JavaScript inside your page will only be allowed to get resources from xy.com. But what if you still want CORS switched off?

November 3, 2021 | Javascript

This article will take you into the world of JavaScript errors. Errors happen no matter what, no matter how extraordinary a coder you are, no matter how closely you pay attention, no matter how good you are at predicting a user’s behavior. In JavaScript, your scripts will have errors. And there are a hundred possible reasons for that. However, there is a solution to discovering these errors, and that solution comes in a form of a catch clause through a try statement.

October 29, 2021 | Javascript

This article will teach you all you need to know about the case clause in JavaScript. To begin with, the case clause is very closely connected to the switch statement and cannot stand alone. This is the main reason during this article we are going to discuss the cause clause in conjunction with the switch keyword. In general, the if-else statements are the simplified version of the conditional operations, however, when dealing with more complex conditional operations, the switch case statement comes into play, and the break keyword is also often a part of the story.

October 25, 2021 | Javascript

The break is one of the reserved keywords in JavaScript and we often associate it with when wanting to break the loop. This article is going to present some theoretical basics that are necessary to understand the break statement and some of the most common examples of break statement applications. For a beginning, let’s take a look at the official definition, and afterward we will take each part of it, explain how it works, and see for ourselves through examples.

October 21, 2021 | Javascript

arguments is a reserved keyword in JavaScript. Arguments is an array-like object that you can access inside all non-arrow functions. That object contains the values of the arguments that are passed to that function. arguments object is a local variable available within all non-arrow functions.

Let’s take a look at that definition step by step.

October 5, 2021 | Javascript

Have you ever wondered why you were able to call a function before you wrote it? If this is the case, this article is going to answer this question! We are going to dig into one of the basic concepts in JavaScript – we are going to teach you what is hoisting in JavaScript and why it’s important. Let’s get started!

October 2, 2021 | Javascript

In this article, we are going to teach you, step by step, how you can create a very simple single page application. We are going to create it by showing and hiding div elements. SPA means we have single DOM page and using JavaScript we simulate multi page website by showing and hiding elements. Other option, which we are going to explore in another tutorial, is to create elements we need for a “page” and delete elements we don’t need at some point. You will need just a little knowledge of HTML, CSS, and some very basics of JavaScript. We will also embed code example, which will present this single page application and we will go through each line of code and each section so you can see exactly what we are doing. If you’ll go through the example, you will also notice some comments in the code, which will probably add another dimension for you to clarify things that are unclear. Let’s get started.

September 30, 2021 | Javascript

It is super important to understand basic concepts of JavaScript and scope is definitely one of them – you cannot work in JavaScript, if you don’t understand what scope is and this is the main reason we prepared this article.