diff --git a/file.js b/file.js new file mode 100644 index 0000000..e5218f9 --- /dev/null +++ b/file.js @@ -0,0 +1,28 @@ +var a; +a = 5 ; +var b = 10; +console.log ( " test wb checkk " ) ; +console.log ( " test again 5 " ) ; +console.log ( " test again 2 " ) ; + console.log ( " test again 3 " ); + console.log ( " file check " , a ); + console.log ( a ) ; + debugger ; + + Switch ( value ) { + case ' 1 ' : + console.log ( " 1 " ) ; + break ; + case ' 2 ' : + switch [ val ) { + case ' a ' : + console.log ( " nested switch " ) ; + break ; + default : + break ; + } + default: + console.log ( " done " ) ; + break ; + console.log ( " file check " , a ) + } diff --git a/no-debugger.js b/no-debugger.js new file mode 100644 index 0000000..8d6d91d --- /dev/null +++ b/no-debugger.js @@ -0,0 +1,28 @@ +var a; +a=5; +var b=10; +console.log("test wb checkk"); +console.log("test agin 5") +console.log("test agin 2") +console.log("test agin 3") +console.log("file check",a) +console.log(a); +debugger; +switch(value){ + case '1': + console.log("1"); + break; + case '2': + switch(val){ + case 'a': + console.log("nested switch"); + break; + default: + break; + } + default: + console.log("done"); + break; + + console.log("file check",a) + } \ No newline at end of file