mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 11:36:57 +00:00

PR-URL: https://github.com/nodejs/node/pull/47251 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
18 lines
310 B
Plaintext
18 lines
310 B
Plaintext
Checks that setScriptSource works for editing the top-most stack frame
|
|
Paused at (before live edit):
|
|
function testExpression(a, b) {
|
|
#debugger;
|
|
return a + b;
|
|
|
|
Paused at (after live edit):
|
|
function testExpression(a, b) {
|
|
#return a * b;
|
|
}
|
|
|
|
Result:
|
|
{
|
|
description : 15
|
|
type : number
|
|
value : 15
|
|
}
|