DEV Community

mmvergara
mmvergara

Posted on • Edited on

2 1

Javascript Tagalog - "Const" Variable Declaration

Ano ngaba ang Const Variable Declaration?
Yung "Const Variable" ay isang type ng block-scoped variable declaration sa javascript na hindi pwedeng ma re-assign ang value

Const Variable Declaration Tagalog Javascript

Pero sa mga array and objects pwede mo sila i update o alisin.

Const Variable Declaration Tagalog Javascript


Scope
Ang isang "Const 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.

Const Variable Declaration Tagalog Javascript

kung tatry mo i access ang Const variable sa outside block na kung saan siya na defined. Di mo siya makukuha... parang siya... :(

Const Variable Declaration Tagalog Javascript


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

SurveyJS custom survey software

JavaScript UI Libraries for Surveys and Forms

SurveyJS lets you build a JSON-based form management system that integrates with any backend, giving you full control over your data and no user limits. Includes support for custom question types, skip logic, integrated CCS editor, PDF export, real-time analytics & more.

Learn more

Top comments (0)

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started