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/

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay