Posts Tagged ‘array’

MooTools in a nutshell. Part 1.

MooTools is another library, worthy of attention. It can also expand our view on the JavaScript language itself. “My Object-Oriented Tools” — MooTools It is modular (in construction) JavaScript library. The foundation is called Core. Other libraries are optional. MooTools consists of a plurality of modules. Such design allows users to retrieve only the parts […]

Prototype JS Framework in a nutshell. Part 1.

Here is the first part of the short courses, describing JavaScript frameworks. The first of these will be Prototype JS. Prototype JS Framework — from scratch A little bit of preliminary information appears in the article JavaScript Frameworks — foreword. The purpose of this article is not to replace the documentation, but the description of […]

candy ai chat bot review

Testing code and handling errors in JavaScript

Debug it! In this article we will take a look on testing the code and error handling in JavaScript. Handling errors in JavaScript At the beginning would have to say a few words about the need for testing. We need to test everything! Preferably at each stage of creating the code. And we must take […]

OOP in JavaScript part 2. Summary.

Part 2. of the OOP in JavaScript. Today we will show some more advanced examples. OOP in JavaScript — techniques For a good start, let’s take a closer look at arrays. Arrays as objects A simple array, e.g.: can be written in a concise form: And certainly we can operate on arrays in the same […]

JavaScript file

Arrays and strings in JavaScript. Basics part 5 — summary.

After discussing the absolute basics, it’s time to talk about arrays and strings in JavaScript. These are really important elements, and having mastered them we are ready to go to the next level. Arrays and strings in JavaScript At first we’ll take a look at text strings and basic methods of processing them. Afterwards we’ll […]