diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-12-10 21:51:33 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-12-10 21:51:33 +0100 |
commit | 0469abd4a9c9270a1fdc962969e36e63699af8b4 (patch) | |
tree | f9864d4a4148621378958794cbbfdc2393733283 /node_modules/es5-ext/string/random-uniq.js | |
parent | 6947e79bbc258f7bc96af424ddb71a511f0c15a3 (diff) |
upgrade dependencies
Diffstat (limited to 'node_modules/es5-ext/string/random-uniq.js')
-rw-r--r-- | node_modules/es5-ext/string/random-uniq.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/node_modules/es5-ext/string/random-uniq.js b/node_modules/es5-ext/string/random-uniq.js index ef549d3f6..ea10a8167 100644 --- a/node_modules/es5-ext/string/random-uniq.js +++ b/node_modules/es5-ext/string/random-uniq.js @@ -1,13 +1,13 @@ "use strict"; -var generated = Object.create(null) - - , random = Math.random; +var generated = Object.create(null), random = Math.random; module.exports = function () { var str; do { - str = random().toString(36).slice(2); -} while (generated[str]); + str = random() + .toString(36) + .slice(2); + } while (generated[str]); return str; }; |