Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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)