Category Archives: Miscellaneous

All miscellaneous posts

SyntaxError : Reserved Word

DebugMiscellaneous

syntaxerror: unexpected reserved word

Remember when you were a mere beginner in JavaScript, while learning you must have come across the term ‘reserved words’. These are the words that you can’t use as names for variables.

April 16, 2018

view count34139 Views

Read time2 Min Read

Memory leakage debugging, Javascript error

DebugMiscellaneous

Forgotten Callbacks, Getting a Closure

Reason why JS is adored all over the internet is because of the powerful libraries and tools that empower us in making efficient web pages in very less time. Closure is one of the perks of JS which is used quite a lot.

April 12, 2018

view count26128 Views

Read time3 Min Read

Javascript error debugging

DebugMiscellaneous

Why Global variables Shouldn’t Be Much Global

One of the biggest blunder a JS developer can do while writing a code is declaring unnecessary global variables. Global variables are extremely helpful for the programmers but if not used carefully would rob the speed and efficiency of any browser.

April 9, 2018

view count27567 Views

Read time2 Min Read

DebugJavaScriptMiscellaneous

TypeError: JavaScript

Can you add a number and an alphabet? Say, if I ask you to give me the result of the addition of 1 and H will you be able to give me the answer? The obvious answer is NO. Same goes in JavaScript too!If you add 1 and H in

April 6, 2018

view count23270 Views

Read time2 Min Read

SyntaxError: JSON.parse: bad parsing

DebugMiscellaneous

SyntaxError: JSON.parse: bad parsing

JSON or JavaScript Object Notation is a ubiquitous data format used by all sorts of mobile and web apps for asynchronous browser-server communication. JSON is an extremely popular data format, very easy to

April 5, 2018

view count37208 Views

Read time3 Min Read

debugging memory leak

DebugJavaScriptMiscellaneous

Complete Guide To Memory Leakage Testing In JavaScript

Introduction To understand the memory leakage issue, we must first understand how memory is allocated and recycled in a typical web browser operation. You don’t even have to imagine, just look around. The renting and subletting is similar to memory allocation.

March 31, 2018

view count15179 Views

Read time4 Min Read

iOS 11.3

Miscellaneous

Apple Releases iOS 11.3

With one of the major updates, iOS 11.3, apple brings in exciting AR(augmented reality) experiences, Animojis for iPhone X users, updates in the visibility of battery health, performance, etc.

March 30, 2018

view count20984 Views

Read time3 Min Read

(Unknown): Script Error in JavaScript

DebugJavaScriptMiscellaneous

JavaScript Script Errors Demystified: Troubleshooting Guide

If someone tries to violate the rule that you have set, what you’ll do in return? Send him Script error. Not in real life, though. 😉 But in JavaScript, if you try to violate the same origin policy,

March 29, 2018

view count15217 Views

Read time2 Min Read

Uncaught RangeError: Maximum call stack

DebugJavaScriptMiscellaneous

Uncaught RangeError: Maximum call stack in JavaScript

Errors occur where you least expect them, JS developers face this nemesis on a daily basis. There are 2 ways to get these wonderful error messages: 1) Non-Terminating Recursive functions Browser allocates memory to all data types. Sometimes calling a recursive function over and

March 28, 2018

view count15318 Views

Read time2 Min Read

Uncaught TypeError: Cannot read property of undefined

DebugJavaScriptMiscellaneous

Understanding Uncaught TypeError In JavaScript

Debugging Uncaught TypeError In JavaScript Out of the six primitive types defined in JavaScript, namely boolean, string, symbol, number, Null, and undefined, no other type throws as many errors as Undefined. The error most often than not is faced when the scripts come across uninitialized variable or object.

March 27, 2018

view count70705 Views

Read time2 Min Read