1
0
mirror of synced 2026-01-06 15:01:04 -05:00

Merge pull request #22993 from norwd/patch-1

Make two examples of `format(...)`consistent
This commit is contained in:
Courtney Wilson
2023-01-06 16:13:11 -06:00
committed by GitHub

View File

@@ -169,7 +169,11 @@ Replaces values in the `string`, with the variable `replaceValueN`. Variables in
#### Example
`format('Hello {0} {1} {2}', 'Mona', 'the', 'Octocat')`
{% raw %}
```js
format('Hello {0} {1} {2}', 'Mona', 'the', 'Octocat')
```
{% endraw %}
Returns 'Hello Mona the Octocat'.