This site runs best with JavaScript enabled.Robin Kim

Prefix Tree

By reading this post, you will be able to answer the following questions: What is a prefix tree? (Tree that groups together elements with common beginnings.) How do I navigate through one? (One piece of the data at a time!) What can I use a prefix tree for? (Autocompletion: search engine, T9 texting…

Read Article →

Hoist!

You will learn: A variable declaration is hoisted. A variable initialization is not hoisted. A function declaration is hoisted. A function expression is not hoisted. Need a refresher on these terms before learning about hoisting? Check out my previous post: Write and Execute JavaScript…

Read Article →

Write and Execute a JavaScript Function

You will learn: A function definition is a function implementation. A function expression is not the same as a function declaration. A function call is a function invocation. An actual argument and a formal parameter are similar, but not exactly the same thing. Definition (or Implementation) A…

Read Article →