summaryrefslogtreecommitdiffstats
path: root/src/mixins/readableNumber.js
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-08-23 15:47:50 +0200
committerJoas Schilling <coding@schilljs.com>2021-08-23 15:47:50 +0200
commit228aeb4dd17c89b6698b6d28aea91873147df55c (patch)
tree0287f2555a4a911bce74e369ff37dc3f4179dc39 /src/mixins/readableNumber.js
parent4891e8017f4d4e837a7cde52c164abc61c1a72a7 (diff)
Autofixes
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/mixins/readableNumber.js')
-rw-r--r--src/mixins/readableNumber.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mixins/readableNumber.js b/src/mixins/readableNumber.js
index 944f703cf..78057cecf 100644
--- a/src/mixins/readableNumber.js
+++ b/src/mixins/readableNumber.js
@@ -29,7 +29,7 @@ const readableNumber = {
* 9432670284 => 943 267 0284
*
* @param {string} number The number to make readable
- * @returns {string}
+ * @return {string}
*/
readableNumber(number) {
const chunks = this.stringChop(number, 3)
@@ -42,9 +42,10 @@ const readableNumber = {
/**
* Copied from https://www.w3resource.com/javascript-exercises/javascript-string-exercise-17.php
+ *
* @param {string} str The string to chop
* @param {number} size Size of the chunks
- * @returns {string[]}
+ * @return {string[]}
*/
stringChop(str, size) {
str = String(str)