Equality Loose (non-)equality Checks for value equality with implicit coercion (coercion algorithm depends on types) One or both values are coerced (until the two types match) using a complex decision tree Strict (non-)equality Checks for both value and type equality (no coercion) Type Conversion Explicit coercion: controlled way of type conversion Using complex primitive type … Continue reading Javascript Types
JAVASCRIPT Declarations
External JS files can be referenced in tag using src attribute Both relative and absolute binding are supported Remote resources can also be used Locally defined JS code is added between tags More than one script tags can be used In HTML5, type attribute is not mandatory anymore Executed automatically (DOM is not ready yet!) Coding … Continue reading JAVASCRIPT Declarations