Javascript Function Usage Patterns
In programming, patterns mostly apply to code design. However, patterns may also apply to usage of language specific functionality, either to ensure best practices or to avoid common issues. Patterns below focus on function usage patterns. Functions in JavaScript are of two types: Named functions: functions having a given name (e.g.: function functionName() {} ) […]