From 17751eb8d4c650f813e70007b3db0b1aefa6d585 Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Sat, 1 Sep 2018 14:20:36 +0300 Subject: [PATCH] Add hoisting --- glossary/Hoisting.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 glossary/Hoisting.md diff --git a/glossary/Hoisting.md b/glossary/Hoisting.md new file mode 100644 index 000000000..f1cac9ac5 --- /dev/null +++ b/glossary/Hoisting.md @@ -0,0 +1,4 @@ +### Hoisting + +Hoisting is JavaScript's default behavior of adding declarations to memory during the compile phase. +Hoisting allow for JavaScript variables to be used before they have been declared.