DEV Community

mmvergara
mmvergara

Posted on • Edited on

Javascript Tagalog - For of Loop

Ano ngaba ang For of Loop sa Javascript?
yung for of loop ay parang shorter version lang siya ng regular na for loop. I think the best way para matutunan niyo is to just look at these pictures

Javascript Pinoy Tagalog Object For Loops For of
pwede mo palitan yung "elementName" sa gusto mong name tapos yun yung variable name na gagamitin mo sa loop, for ex. if "x" yung lalagay ko sa element name, then para ma access ko yung variable gagamitin ko yung "x" Console.log(x)


Deconstruction works also dito sa for of loop

Javascript Pinoy Tagalog Object For Loops For of

Eto using for of loop sa objects

Javascript Pinoy Tagalog Object For Loops For of


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

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

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