Home>Web design tutorial> Javascript tutorial
All Dreamweaver tutorial Javascript tutorial HTML tutorial CSS tutorial Experience and skills DHTML tutorial Web effects WEB standardization
Javascript tutorial
  • Class basic syntax

    Class basic syntax

    In object-oriented programming, a class is an extensible program-code-template for creating objects, providing initial values for state (member variables) and implementations of behavior (member functions or methods).
    2024-12-18
  • Class inheritance

    Class inheritance

    Class inheritance is a way for one class to extend another class.
    2024-12-18
  • Static properties and methods

    Static properties and methods

    We can also assign a method to the class as a whole. Such methods are called static.
    2024-12-17
  • Private and protected properties and methods

    Private and protected properties and methods

    One of the most important principles of object oriented programming – delimiting
    2024-12-17
  • Extending built-in classes

    Extending built-in classes

    Built-in classes like Array, Map and others are extendable also. For instance, h
    2024-12-17
  • Class checking: "instanceof"

    Class checking: "instanceof"

    The instanceof operator allows to check whether an object belongs to a certain class. It also takes inheritance into account.
    2024-12-17
  • Mixins

    Mixins

    In JavaScript we can only inherit from a single object. There can be only one [[Prototype]] for an object. And a class may extend only one other class.
    2024-12-17
  • Error handling, "try...catch"

    Error handling, "try...catch"

    No matter how great we are at programming, sometimes our scripts have errors. They may occur because of our mistakes, an unexpected user input, an erroneous server response, and for a thousand other reasons.
    2024-12-16
  • Custom errors, extending Error

    Custom errors, extending Error

    When we develop something, we often need our own error classes to reflect specific things that may go wrong in our tasks. For errors in network operations we may need HttpError, for database operations DbError, for searching operations
    2024-12-16
  • Introduction: callbacks

    Introduction: callbacks

    We use browser methods in examples hereTo demonstrate the use of callbacks, prom
    2024-12-16
  • Unicode, String internals

    Unicode, String internals

    Advanced knowledgeThe section goes deeper into string internals. This knowledge
    2024-12-16
  • WeakRef and FinalizationRegistry

    WeakRef and FinalizationRegistry

    This article covers a very narrowly focused topic, that most developers extremely rarely encounter in practice (and may not even be aware of its existence).
    2024-12-16
  • Promise

    Promise

    Imagine that you’re a top singer, and fans ask day and night for your upcoming song.
    2024-12-14
  • Promises chaining

    Promises chaining

    Let’s return to the problem mentioned in the chapter Introduction: callbacks: we have a sequence of asynchronous tasks to be performed one after another — for instance, loading scripts. How can we code it well?
    2024-12-14
  • Error handling with promises

    Error handling with promises

    Promise chains are great at error handling. When a promise rejects, the control jumps to the closest rejection handler. That’s very convenient in practice.
    2024-12-14