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