//
function randomString(length) {
var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghiklmnopqrstuvwxyz'.split('');
//
function randomString(length) {
var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghiklmnopqrstuvwxyz'.split('');
- 'use strict';
- return text.replace(/./g, function (a) {
- return '%' + a.charCodeAt(0).toString(16);
- });
+ 'use strict';
+ return text.replace(/./g, function (a) {
+ return '%' + a.charCodeAt(0).toString(16);
+ });