We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3af2a2 commit c5b88dbCopy full SHA for c5b88db
lib/utils.js
@@ -19,8 +19,9 @@ if(typeof events.EventEmitter.prototype.once !== 'function') {
19
function arrayString(val) {
20
var result = '{';
21
for (var i = 0 ; i < val.length; i++) {
22
- if (i > 0)
+ if (i > 0) {
23
result = result + ',';
24
+ }
25
if (val[i] instanceof Date) {
26
result = result + JSON.stringify(val[i]);
27
}
@@ -31,8 +32,10 @@ function arrayString(val) {
31
32
result = result + arrayString(val[i]);
33
34
else
35
+ {
36
result = result +
- (val[i] === null ? 'NULL' : JSON.stringify(val[i]));
37
+ (val[i] === null ? 'NULL' : JSON.stringify(val[i]));
38
39
40
result = result + '}';
41
return result;
0 commit comments