From 9960652a71d09f2056e29f390cf3f423a9d48497 Mon Sep 17 00:00:00 2001 From: Benji Date: Wed, 12 Jun 2024 11:15:44 +0000 Subject: [PATCH 1/2] Update 365 TOC and Question README.md Minor fixes --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 55f8eca3..008ded76 100644 --- a/README.md +++ b/README.md @@ -390,7 +390,7 @@ | 362 | [What is destructuring aliases](#what-is-destructuring-aliases) | | 363 | [How do you map the array values without using map method](#how-do-you-map-the-array-values-without-using-map-method) | | 364 | [How do you empty an array](#how-do-you-empty-an-array) | -| 365 | [How do you rounding numbers to certain decimals](#how-do-you-rounding-numbers-to-certain-decimals) | +| 365 | [How do you round numbers to certain decimals](#how-do-you-rounding-numbers-to-certain-decimals) | | 366 | [What is the easiest way to convert an array to an object](#what-is-the-easiest-way-to-convert-an-array-to-an-object) | | 367 | [How do you create an array with some data](#how-do-you-create-an-array-with-some-data) | | 368 | [What are the placeholders from console object](#what-are-the-placeholders-from-console-object) | @@ -6606,7 +6606,7 @@ **[⬆ Back to Top](#table-of-contents)** -365. ### How do you rounding numbers to certain decimals +365. ### How do you round numbers to certain decimals You can round numbers to a certain number of decimals using `toFixed` method from native javascript. From 95d120a141a13c64259c5264a54bd99dea899cda Mon Sep 17 00:00:00 2001 From: Benji Date: Wed, 12 Jun 2024 11:42:44 +0000 Subject: [PATCH 2/2] Update TOC 365 README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 008ded76..e42edd66 100644 --- a/README.md +++ b/README.md @@ -390,7 +390,7 @@ | 362 | [What is destructuring aliases](#what-is-destructuring-aliases) | | 363 | [How do you map the array values without using map method](#how-do-you-map-the-array-values-without-using-map-method) | | 364 | [How do you empty an array](#how-do-you-empty-an-array) | -| 365 | [How do you round numbers to certain decimals](#how-do-you-rounding-numbers-to-certain-decimals) | +| 365 | [How do you round numbers to certain decimals](#how-do-you-round-numbers-to-certain-decimals) | | 366 | [What is the easiest way to convert an array to an object](#what-is-the-easiest-way-to-convert-an-array-to-an-object) | | 367 | [How do you create an array with some data](#how-do-you-create-an-array-with-some-data) | | 368 | [What are the placeholders from console object](#what-are-the-placeholders-from-console-object) |