3 ms·
I prefer post-modern javascript, the kind that works universally across all browsers starting with Netscape 2.0
by forgotmypw17 6y ago
I prefer post-modern javascript, the kind that works universally across all browsers starting with Netscape 2.0
- markdown 6y agoalert("Reached here #23");
- forgotmypw17 6y agoMore like: //alert('DEBUG: SomeFunction: condition is TRUE'); Then, depending on what browser I'm debugging in, the post-processor changes that to either console.log, document.title=, or alert( :)
- austincheney 6y agoAside from newer methods the only syntax gotchas in my code are template strings and let/const. That makes the code really quick and simple to convert to an old IE friendly application.