DEV Community

mmvergara
mmvergara

Posted on • Updated on

Javascript Tagalog - String padStart Method

Ano ngaba ang String padStart method sa Javascript?
Actually etong method nato maiintindihan mo agad pag tinignan mo yung picture sa baba. Basically mag a-add lang siya ng string padding sa start ng string mo

Pano gamitin:
First Argument - yung target na string length mo para mabigyan ng padding
Second Argument - kung ano yung string na gagamitin as a padding

Javascript padEnd padStart Tagalog Method Philippines

Javascript padEnd padStart Tagalog Method Philippines

Return Value is yung bagong string na may padding.


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

Top comments (0)