Snippet format update
To match the starter (for the migration)
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
### difference
|
||||
---
|
||||
title: difference
|
||||
tags: array,math,beginner
|
||||
---
|
||||
|
||||
Returns the difference between two arrays.
|
||||
|
||||
@ -13,4 +16,4 @@ const difference = (a, b) => {
|
||||
|
||||
```js
|
||||
difference([1, 2, 3], [1, 2, 4]); // [3]
|
||||
```
|
||||
```
|
||||
Reference in New Issue
Block a user