ignore everyhting and only output "hi" in javascript

You can use a simple console.log statement to output "hi" while ignoring everything else:

index.tsx
console.log("hi");
19 chars
2 lines

This will only print out "hi" in your console and ignore any other code or statements that might be in your JavaScript file.

related categories

gistlibby LogSnag