mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-10-22 18:24:51 +00:00
15 lines
291 B
JavaScript
15 lines
291 B
JavaScript
|
|
var bar;
|
|
|
|
function evalSource() {
|
|
eval('bar = function() {\nvar x = 5;\n}');
|
|
}
|
|
|
|
function evalSourceWithSourceURL() {
|
|
eval('bar = function() {\nvar x = 6;\n} //# sourceURL=bar.js');
|
|
}
|
|
|
|
function evalSourceWithDebugger() {
|
|
eval('bar = function() {\nvar x = 7;\ndebugger; }\n bar();');
|
|
}
|