Files
sousa-gecko/devtools/client/debugger/test/mochitest/examples/math.min.js
T
Alexandre Poirot d88f765539 Bug 1950654 - [devtools] Allow selecting the pretty printed source when selecting a source from the source tree. r=devtools-reviewers,bomsy
Add a space on math.min.js in order to ensure that the first line of the minimized source doesn't map
to a pretty printed location.

Differential Revision: https://phabricator.services.mozilla.com/D236264
2025-03-06 11:38:43 +00:00

5 lines
359 B
JavaScript

function add(a,b,k){var result=a+b;return k(result)}function sub(a,b,k){var result=a-b;return k(result)}function mul(a,b,k){var result=a*b;return k(result)}function div(a,b,k){var result=a/b;return k(result)}function arithmetic(){
add(4,4,function(a){
sub(a,2,function(b){mul(b,3,function(c){div(c,2,function(d){console.log("arithmetic",d)})})})})};