Javascript

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 the string. If the str...

22-07-2021 4,425
Javascript

Formatting hours in Javascript

Continuing with the set of articles that talk about internationalisation elements, like the previous one where we talked about relative dates in JavaS...

10-06-2021 4,216
Javascript

Dates in local format with Javascript

In the articles we have about dates in JavaScript we were missing one about how to create dates in local format with JavaScript. That is to say, being...

10-06-2021 4,174
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 of you will find too basic and...

01-06-2021 3,910
Javascript

Relative dates in JavaScript

One of the interesting things about the internationalisation library represented in the Int object is the handling of relative dates in Javasc...

25-05-2021 4,685
Javascript

The JavaScript forEach loop

We have already talked about how to handle some of loops  types in Javascript including for, for-in and for-off loops. In the case of today ...

20-05-2021 4,141
Javascript

How to clone objects in JavaScript

Primitive and referenced values (objects) behave very differently when we want to make a copy of them. Primitive values Let's suppose a vari...

11-05-2021 10,744