Some Programming Best Practices Or Conventions ________________________________________________________________________________________
This document is referred to by some Javascript programs to describe some Javascript-related
best practices (BPs) that these programs comply to.
All the general BPs referred to below come from
this other more general document about BPs and
have an identifier beginning by "BP_".
The identifiers of more specialized Javascript-related BPs introduced below begin by "BPjs_".
- BP_2.1.1.8.js (alias,
BPjs_2.1.1.8):
- using the “strict” interpretation mode (hence the “use strict” macro),
- enabling “error notification” in the browser
(in its console, which should then be opened),
e.g., see under the menus “Tools - Internet Options ... - Advanced”;
- the option “Display a notification about every script error” should be enabled,
- the option “Disable script debugging” should be disabled);