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