Naming Conventions - JavascriptNaming conventions in Javascript is always a topic of debate. Here's me trying to put my views in my perspective. Note: Conventions are the set the rules formulated and followed by every organisation or team. The below image represents various type...Jan 30, 2022 · 2 min readblog.surendar.dev
Console API - Debugging Like A PRO - JavascriptConsole API of Javascript scripts provide a lot more than just console.log. Here are some of my observations & learning on the Console API. Also, a few tips that I use for logging are added at the end - Feel free to stick till the end. 1. console.log...Jul 6, 2021 · 3 min readblog.surendar.dev
Designing the Print Preview - Chrome Dev ToolsHave you ever wondered, how would your webpage look when printed? 🤔 And you don't have a printer? or you don't want to waste a ton of papers for development? Chrome dev tools got you covered! Following are the steps to check your print preview in Ch...Jan 2, 2021 · 2 min readblog.surendar.dev
NaN - It's Not A Number🙄According to MDN, NaN is a property of the global object. In other words, it is a variable in global scope. The initial value of NaN is Not-A-Number — the same as the value of Number.NaN. In modern browsers, NaN is a non-configurable, non-writable ...Aug 22, 2020 · 2 min readblog.surendar.dev
TypeScript Functional Decorators w/ usecases> Generally, decorators in programming are used to add some additional meaning/function to a method, variable or a class. I have used a lot of decorators while working in Spring Boot. I am currently learning Typescript and decorators fascinated me....Aug 7, 2020 · 4 min readblog.surendar.dev