Apply new format to snippets and template
This commit is contained in:
@@ -5,7 +5,7 @@ tags: math,beginner
|
||||
|
||||
Returns the distance between two vectors.
|
||||
|
||||
Use `Array.prototype.reduce()`, `Math.pow()` and `Math.sqrt()` to calculate the Euclidean distance between two vectors.
|
||||
- Use `Array.prototype.reduce()`, `Math.pow()` and `Math.sqrt()` to calculate the Euclidean distance between two vectors.
|
||||
|
||||
```js
|
||||
const vectorDistance = (x, y) =>
|
||||
|
||||
Reference in New Issue
Block a user