apius 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
@@ -30,7 +30,7 @@ export default {
|
|
30
30
|
return Math.round(Math.random() * (max - min) + min)
|
31
31
|
},
|
32
32
|
|
33
|
-
getRandomString: (
|
34
|
-
return
|
33
|
+
getRandomString: (array) => {
|
34
|
+
return array[Math.floor(Math.random() * array.length)]
|
35
35
|
}
|
36
36
|
}
|