DOM vs Shadow vs Virtual DOM

📄 Table of contents:

1. What is DOM?

2. Shadow DOM

3. Virtual DOM

4. Differences between Shadow DOM and Virtual DOM

Conclusion

var sayHi = function (name) {
return 'Hi' + name;
}

Return

// With return
function calc(a, b) {
return a + b;
}
calc(1, 4) // returns 5// Without return
function calc(a, b) {
a + b;
}
calc(1, 4) // returns undefined

Parameters and arguments

Parameters and Arguments are NOT same but used interchangeably

Experience with Front-end Technologies and MERN / MEAN Stack. Working on all Major UI Frameworks like React, Angular.