Skip to content

Commit ce46021

Browse files
Remove redundant variable declaration. [#1316 state:resolved] (Victor)
1 parent 6c7ffe2 commit ce46021

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/prototype/lang/object.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,7 @@
161161
}
162162

163163
function Str(key, holder, stack) {
164-
var value = holder[key],
165-
type = typeof value;
166-
164+
var value = holder[key];
167165
if (Type(value) === OBJECT_TYPE && typeof value.toJSON === 'function') {
168166
value = value.toJSON(key);
169167
}

0 commit comments

Comments
 (0)