script_aboutdebugging_devtoolstoolbox_breakpoint.js (295B)
1 /* Any copyright is dedicated to the Public Domain. 2 http://creativecommons.org/publicdomain/zero/1.0/ */ 3 4 "use strict"; 5 6 // Random method on which a breakpoint will be set from the DevTools UI in the 7 // test. 8 window.testMethod = function () { 9 const a = 1; 10 const b = 2; 11 return a + b; 12 };