Results for: "return"

Contents (400)

How to use the endsWith method in JavaScript
How to use the endsWith method in JavaScript

In this short tutorial, we are going to see what the endsWith method, introduced in JavaScript ES6, is and how…

read more
What are javascript symbols and how can they help you?
What are javascript symbols and how can they help you?

Symbols are a new primitive value introduced by ES6. Their purpose is to provide us unique identifiers. In this article,…

read more
Callbacks in JavaScript
Callbacks in JavaScript

Callback functions are the same old JavaScript functions. They have no special syntax, as they are simply functions that are…

read more
How to create PDF with JavaScript and jsPDF
How to create PDF with JavaScript and jsPDF

Creating dynamic PDF files directly in the browser is possible thanks to the jsPDF JavaScript library. In the last part of…

read more
How artificial intelligence design the world
How artificial intelligence design the world

The image you see above was drawn especially for this article, but did not require any artistic skills or vein…

read more
The history of video games: from entertainment to virtual reality
The history of video games: from entertainment to virtual reality

The release of Return to Monkey Island (September 2022) has jogged video game fans' memories back to 1990, when The…

read more
PHP - The Singleton Pattern
PHP - The Singleton Pattern

The Singleton Pattern is one of the GoF (Gang of Four) Patterns. This particular pattern provides a method for limiting…

read more
How to connect to MySQL with Node.js
How to connect to MySQL with Node.js

Let's see how you can connect to a MySQL database using Node.js, the popular JavaScript runtime environment. Before we start, it…

read more
Difference between arrow and normal functions in JavaScript
Difference between arrow and normal functions in JavaScript

In this tutorial we are going to see how arrow functions differ from normal JavaScript functions. We will also see…

read more
JavaScript Arrow functions: What they are and how to use them
JavaScript Arrow functions: What they are and how to use them

In this article we are going to see what they are and how to use JavaScript Arrow Functions, a new…

read more
How to use the codePointAt method in JavaScript
How to use the codePointAt method in JavaScript

The JavaScript codePointAt method has more or less the same function as the charCodeAt method, used to get the 16-bit…

read more
How to check if a value is a number in JavaScript
How to check if a value is a number in JavaScript

In this short tutorial we are going to look at the various methods that exist to find out if a…

read more
How to use the charCodeAt method in JavaScript
How to use the charCodeAt method in JavaScript

The charCodeAt method is accepted by strings in JavaScript, returning the 16-bit Unicode code of the character at the position…

read more
How to use the charAt method in JavaScript
How to use the charAt method in JavaScript

The charAt method is accepted by strings in JavaScript, returning the position of the character passed as a parameter within…

read more
Strings in JavaScript: What they are and how to use them
Strings in JavaScript: What they are and how to use them

In this tutorial we are going to explain what strings are and how they are used in JavaScript. The tutorial…

read more
Request data with prompt in JavaScript
Request data with prompt in JavaScript

After having published several articles about how to manipulate arrays and dates, today I will publish a post that some…

read more
What are React Hooks and what problems they solve
What are React Hooks and what problems they solve

Working with React, - and before the release of Hooks in version 16.8 -  there was always the possibility to create…

read more
Flattening arrays in JavaScript
Flattening arrays in JavaScript

When we are handling arrays that are arrays or have multiple dimensions it can be very useful to know how…

read more
How to populate an array with random numbers in JavaScript
How to populate an array with random numbers in JavaScript

Some of you might think that what we explained in the article on how to populate an array with numbers,…

read more
How to Send Email from an HTML Contact Form
How to Send Email from an HTML Contact Form

In today’s article we will write about how to make a working form that upon hitting that submit button will…

read more
Network attacks and how to avoid them
Network attacks and how to avoid them

Nowadays it is impossible to list all the different types of attacks that can be carried out on a network,…

read more
Looping through a matrix with JavaScript
Looping through a matrix with JavaScript

We were already talking about how to multiply arrays in JavaScript and we realised that we had not explained something…

read more
Parental controls on Android: how to make mobiles and tablets child-friendly
Parental controls on Android: how to make mobiles and tablets child-friendly

Despite all the good things about them, mobile devices can expose your children to content that they're better off not…

read more
The best free tools to Transcribe audio to text
The best free tools to Transcribe audio to text

With this article we bring you a list of the best tools for transcribing audio to text, offering you some…

read more
Starting with Bootstrap-Vue step by step
Starting with Bootstrap-Vue step by step

Today we will show you how to use BootstrapVue, describe the installation process and show basic functionality. The project’s based on…

read more
Validating HTML forms using BULMA and vanilla JavaScript
Validating HTML forms using BULMA and vanilla JavaScript

Today we are going to write about contact forms and how to validate them using JavaScript. The contact form seems to…

read more
The State of PHP 8: new features and changes
The State of PHP 8: new features and changes

PHP 8.0 has been released last November 26: let's discover together the main innovations that the new version introduces in…

read more
A FULFILLED PROMISE - Using the FETCH API to make AJAX calls
A FULFILLED PROMISE - Using the FETCH API to make AJAX calls

In this article we talked about what AJAX calls are and how to use them in a traditional way, by…

read more
Cross cultural challenges in web design, an overview
Cross cultural challenges in web design, an overview

The user experience design of a product essentially lies between the intentions of the product and the characteristics of your…

read more
Install MacOS on PC - the Ultimate Guide (Hackintosh)
Install MacOS on PC - the Ultimate Guide (Hackintosh)

There has always been a belief that the Apple MacOS Operating System could only be installed on computers sold directly…

read more