You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
doc: fix typos
This commit is contained in:
@@ -21,7 +21,7 @@ function replyToStrings (reply) {
|
||||
if (reply instanceof Array) {
|
||||
var res = new Array(reply.length);
|
||||
for (var i = 0; i < reply.length; i++) {
|
||||
// Recusivly call the function as slowlog returns deep nested replies
|
||||
// Recursively call the function as slowlog returns deep nested replies
|
||||
res[i] = replyToStrings(reply[i]);
|
||||
}
|
||||
return res;
|
||||
@@ -43,9 +43,9 @@ function clone (obj) {
|
||||
}
|
||||
if (Object.prototype.toString.call(obj) === '[object Object]') {
|
||||
copy = {};
|
||||
var elems = Object.keys(obj);
|
||||
var elements = Object.keys(obj);
|
||||
var elem;
|
||||
while (elem = elems.pop()) {
|
||||
while (elem = elements.pop()) {
|
||||
copy[elem] = clone(obj[elem]);
|
||||
}
|
||||
return copy;
|
||||
|
Reference in New Issue
Block a user