Update templates
This commit is contained in:
23
snippets/js/snippet-template.md
Normal file
23
snippets/js/snippet-template.md
Normal file
@ -0,0 +1,23 @@
|
||||
---
|
||||
title: Function name
|
||||
type: snippet
|
||||
language: javascript
|
||||
tags: [array]
|
||||
cover: image
|
||||
dateModified: 2021-06-13T05:00:00-04:00
|
||||
---
|
||||
|
||||
Explain briefly what the snippet does.
|
||||
|
||||
- Explain briefly how the snippet works.
|
||||
- Use bullet points for your snippet's explanation.
|
||||
- Try to explain everything briefly but clearly.
|
||||
|
||||
```js
|
||||
const functionName = arguments =>
|
||||
{functionBody}
|
||||
```
|
||||
|
||||
```js
|
||||
functionName('sampleInput'); // 'sampleOutput'
|
||||
```
|
||||
Reference in New Issue
Block a user