Hungry Turtle Code Logo Hungry Turtle Code Logo Text. Learn to write code, one line at a time

Javascript Tips and Tricks

javascript tips

Everyone loves learning new things. That feeling you get when you have just learnt something you know will change everything for you. These Javascript tips and tricks could provide that for you.

Maybe it will be that one time saving trick that will double your productivity or maybe it will just be something small that makes your life that little bit easier.

Whatever it is, it will help you out. Not to mention the extra knowledge you will have in your brain moving forward. I may post new ideas for functions or maybe some concepts to improve your debugging workflow.

Stop procrastinating and learn some new javascript tricks below...

 

Debug() – Javascript Debugging Tips

Debug() – Javascript Debugging Tips

Debug() – The Death Of Ctrl+f If you are anything like me, you have wasted countless hours of your life using ctrl+f to find functions inside your code. If you only have one file, ctrl+f is still going to be …

Console.time() – Javascript Debugging Tips

Console.time() – Javascript Debugging Tips

Just In Time – Console.time I have seen some amazing ways of timing how long javascript code takes to run. Taking timestamps and comparing them is a common way. But console.time is method in the console API that allows you …

Console.trace() – Javascript Debugging Tips

Console.trace() – Javascript Debugging Tips

Little Known But Powerful Tool – console.trace() A while ago I released a post and a video about using console.table as part of your javascript debugging arsenal. I got a great reception from it and many people said they where …

Console.table() – Javascript Debugging Tips

Console.table() – Javascript Debugging Tips

Is console.log The Only Option? Like me, many of you probably use console.log() to debug your javascript code a lot of the time. The problem isn’t big enough to require the setting of breakpoints