Javascript Tagalog - " Let " Variable Declaration

mmvergara - Aug 5 '22 - - Dev Community

Ano ngaba ang "Let Variable Declaration
Yung "Let Variable" ay isang type ng block scoped variable declaration sa javascript na pwedeng ma redefined/re-assign later.

Let Variable Declaration Javascript Tagalog

Scope
Ang isang "Let Variable" ay block-scoped meaning na accessible lang siya inside a block {} and lower blocks, and yeah if na define mo siya sa global scope then pretty much ma access mo siya kahit saan.

Let Variable Declaration Javascript Tagalog

kung tatry mo i access ang let variable sa outside block na kung saan siya na defined. Di mo siya makukuha, sad.

Let Variable Declaration Javascript Tagalog


More tagalog Javascript Learning Resources:
https://javascript-methods-in-tagalog.vercel.app/

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .