mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-23 03:56:23 +00:00
11 lines
165 B
Markdown
11 lines
165 B
Markdown
|
---
|
||
|
id: 49a334dd-0103-46cc-abba-af84529fae70
|
||
|
title: JavaScript String padStart Method
|
||
|
---
|
||
|
|
||
|
# Syntax
|
||
|
|
||
|
``` javascript
|
||
|
console.log("x".padStart(5, "ab")); // ababx
|
||
|
```
|