Chrome でページを開き、JavaScript コンソールに入り、debugger;. 次のコードの 2 行目ですぐにブレークポイントにヒットします。
with ((window && window.console && window.console._commandLineAPI) || {}) {
debugger;
}
誰でもこれを理解できますか?なぜwith声明?ブレークポイントがオンになっているのはなぜdebugger;ですか?
Chrome でページを開き、JavaScript コンソールに入り、debugger;. 次のコードの 2 行目ですぐにブレークポイントにヒットします。
with ((window && window.console && window.console._commandLineAPI) || {}) {
debugger;
}
誰でもこれを理解できますか?なぜwith声明?ブレークポイントがオンになっているのはなぜdebugger;ですか?