mirror of
https://github.com/alrayyes/wiki.git
synced 2025-07-17 15:01:47 +00:00
Quartz sync: May 6, 2024, 10:40 PM
This commit is contained in:
parent
aee9145691
commit
4ef8371441
635 changed files with 22281 additions and 6 deletions
17
content/20201112095711-javascript_string_padend_method.md
Normal file
17
content/20201112095711-javascript_string_padend_method.md
Normal file
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
id: 2ced27fe-8663-43d3-b3e7-f2b332599637
|
||||
title: JavaScript String padEnd Method
|
||||
---
|
||||
|
||||
# Syntax
|
||||
|
||||
``` javascript
|
||||
console.log("x".padEnd(5, "ab")); // xabab
|
||||
```
|
||||
|
||||
# See also
|
||||
|
||||
- [padStart](20201112095657-javascript_string_padstart_method)
|
||||
- [JavaScript String Prototype
|
||||
Methods](20201112095341-javascript_string_prototype_methods)
|
||||
- [ES2017](20201026104538-es2017)
|
Loading…
Add table
Add a link
Reference in a new issue