In terms of scope: Variable declared with var does not support blockscope so if we have variable inside if-else block that variable will be accessed outside that block On the otherhand variable declared with let/const support blockscope so if we have...
thenoobtechie.hashnode.dev2 min readNo responses yet.