Snippet format update
To match the starter (for the migration)
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
### vectorDistance
|
||||
---
|
||||
title: vectorDistance
|
||||
tags: math,beginner
|
||||
---
|
||||
|
||||
Returns the distance between two vectors.
|
||||
|
||||
@ -16,4 +19,4 @@ const vectorDistance = (...coords) => {
|
||||
|
||||
```js
|
||||
vectorDistance(10, 0, 5, 20, 0, 10); // 11.180339887498949
|
||||
```
|
||||
```
|
||||
Reference in New Issue
Block a user