Adding 'use strict' to the sum & bonus functions.
Denoting "js" for GitHub code highlighting.
Adding a "BONUS" question, as a lark.
At the suggestion of a coworker, changing add(…) to sum(…) since it c…
…an handle negative numbers. Also, there's a function named sum(…) in Excel, that behaves similarly.
Simplify handling of negative numbers in add(…) function.
Account for negative numbers in add(…) function.
Fixing the add(…) function to split integers and decimals apart, from…
… a single value.
'add' function fixed.
The actual function doesn’t work on large values, this fixes it by separating integer & decimal parts,
multiplying only the decimal part by a large factor, to avoid infinite numbers (multiplication of two
large values → Infinity)
Changing verbage to reflect "1e12" instead of "10".
Renaming `sum` to `add`. No functional changes.
Multiply by 1e12, instead of 10, in the sum() example.
Slight tweak to the event delegation question, nesting the function i…
…nside the closure, to better demonstrate proper encapsulation.
Slight tweak to console log'd params.
Added isArray URL.
Added isArray answer.
Merge pull request #10 from ayoung/master
Added alternative answer for determining an Array
Tweaks to prototypal/class question & code.
Add alternative answer for determining an Array
Changing one of the params for the sum() example.
Minor copy edits.
Miscellaneous pedantry about declaring functions.
Adding a line break before the IIFE link.
Slight update to the "instanceof" description.