Health Topic Library

PHP, JS, CSS, Python, and Machine Learning Technology

Browse trusted health articles by topic. Use the filters and A-Z index to quickly find related medical content.

526 articlesUpdated medical education library

A-Z article index

H

Latest articles

RX
Health Topic Library

What is the Event Propagation?

Event delegation makes use of two features of JavaScript events: event bubbling and the target element. When an event is triggered on an element, for example...

Read article
RX
Health Topic Library

Const-var-let

var is function scoped and if you try to use a variable declared with var before the actual declaration, you’ll just get undefined. const and let...

Read article
RX
Health Topic Library

Coercion

We know becaue of js data-types rules, Strings act like strings and numbers like numbers. But what happens when you need two different data types to...

Read article
RX
Health Topic Library

Mutability

One of the key differentiating attributes between primitive data types and compound data types is that the former are immutable. This means that you cannot change...

Read article
RX
Health Topic Library

Closures

A closure is the combination of a function bundled together (enclosed) with references to its surrounding state (the lexical environment). In other words, a closure gives you...

Read article
RX
Health Topic Library

What is typeof(NaN) ?

First, NaN is not a keyword (unlike true, false, null, etc..), it is a property of the global object. The value of NaN is the same...

Read article
RX
Health Topic Library

Object.prototype

When you try to access a property on the new object, it checks the object’s own properties first. If it doesn’t find it there, it checks...

Read article
RX
Health Topic Library

Class Inheritance

Instances inherit from classes (like a blueprint — a description of the class), and create sub-class relationships: hierarchical class taxonomies. Instances are typically instantiated via constructor functions with...

Read article
RX
Health Topic Library

Class Inheritance

Instances inherit from classes (like a blueprint — a description of the class), and create sub-class relationships: hierarchical class taxonomies. Instances are typically instantiated via constructor functions with...

Read article
RX
Health Topic Library

What, exactly, is the DOM?

The Document Object Model, or the “DOM”, is an interface to web pages. It is essentially an API to the page, allowing programs to read and...

Read article
RX
Health Topic Library

What does a DOCTYPE do?

DOCTYPE is an abbreviation for DOCument TYPE. A DOCTYPE is always associated to a DTD – for Document Type Definition. A DTD defines how documents of a certain type should be...

Read article
RX
Health Topic Library

Code Executed by setTimeout()

Code executed by setTimeout() is called from an execution context separate from the function from which setTimeout was called. The usual rules for setting the this keyword for...

Read article
RX
Health Topic Library

Event Loop

JavaScript has a single call stack in which it keeps track of what function we’re currently executing and what function is to be executed after that....

Read article