DOM Vs BOM: =========== JS, we can use to access HTML elements DOM (Document Object Model) operations find the element replace delete add new element etc. BOM (Browser Object Model) Ex: Gmail/Amazon ==> Safari popup/alert ==> ============================================ Ways to write JS: ================= 1) using notepad/VS code and running with "node" command. 2) Internal JS 2) External JS ==> Internal JS ==> External JS External JavaScript

JavaScript Tutorial

Here are we are learning about advanced functions from JavaScript.

============ script.js: ========= var a = 121; let b = 131; let addition = function(){ return a+b; } console.log("The Sum = "+addition()); ========================================================= Internal JavaScript

Welcome To JavaSript

=================================== Is Hoisting applicable for functions? ===================================== Function Hoisting ============================================= ======================================= Self Invoking Functions: ========================