Latest Tutorials

Example of an object's property

<!DOCTYPE html> <html> <head> <script> var Profession...

A complex inheritance example

<!DOCTYPE html> <html> <body> <script> //Parent class...

Example of an encapsulation

<!DOCTYPE html> <html> <body> <script> function...

Example of an abstraction

<!DOCTYPE html> <html> <head> <script> //Abstract method...

Example of a listed pattern

<!DOCTYPE html> <html> <head></head> <body> <sc...

Example of a factory pattern

<!DOCTYPE html> <html> <head></head> <body> <sc...

Example of a basic protoypes

<!DOCTYPE html> <html> <head> <script> //Parent prototyp...

Example of prototypes

<!DOCTYPE html> <html> <head> <script> function Library(...

The in property in prototypes

<!DOCTYPE html> <html> <body> <script> var country = ne...

The for-in loop and prototypes

<!DOCTYPE html> <html> <body> <script> var obj = {};...