Javascript Code Snippets that illustrate important principles in Javascript