diff --git a/src/liveedit-debugger.js b/src/liveedit-debugger.js index 0f7c12d71b..7ed22c84aa 100644 --- a/src/liveedit-debugger.js +++ b/src/liveedit-debugger.js @@ -144,8 +144,8 @@ Debug.LiveEdit = new function() { replace_code_list[i].live_shared_function_infos; if (live_shared_function_infos) { - for (var i = 0; i < live_shared_function_infos.length; i++) { - replaced_function_infos.push(live_shared_function_infos[i]); + for (var j = 0; j < live_shared_function_infos.length; j++) { + replaced_function_infos.push(live_shared_function_infos[j]); } } }