Dassault Systèmes Interview Question

3) What is hoisting in JavaScript explain with example.