Skip to content

Commit

Permalink
Update blog.html
Browse files Browse the repository at this point in the history
  • Loading branch information
gauthammariyappan authored Apr 6, 2024
1 parent ade72f2 commit d3f33df
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,15 @@
makeApiCall("https://dummyjson.com/products/1");

//simulateJSErrors
case1();
case2();
case2fail();
case3();
case4();
case5_func1();
switch ((Math.floor(Math.random() * 6) + 1)) {
case 1:case1();break;
case 2:case2();break;
case 3:case2fail();break;
case 4:case3();break;
case 5:case4();break;
case 6:case5_func1();break;
default:console.log("Invalid number");break;
}
}
</script>

Expand Down

0 comments on commit d3f33df

Please sign in to comment.