To ignore everything and only output 1 in JavaScript, you can simply use the console.log()
function to output the number 1 to the console.
index.tsx16 chars2 lines
This will output the number 1
to the console, and ignore everything else in your code. This is a quick and easy way to debug your code and ensure that certain sections of your code are working as expected.
gistlibby LogSnag