Read more

Download Blob as file in Javascript

While we are working with Javascript we may find our self in a situation where we need to let users download blob as File.
So In this post, I’ll share basic javascript function which allows us to download blob as a file in the browser.

read more Download Blob as file in Javascript

Difference between == and === in JavaScript

So we know in javascript we have == and === comparisons. Why two? What are the differences between them? So what is the difference between followings this returns true. when it comes === equals this returns false. So what it is? The triple-equals comparator compares both type and contents So ‘1’ === 1 contains string value and int value. Even contents are same they are in different types. So it is not equals. Double equals tries to help with type coercion. But it’s not always the help we want. So keep in mind when you are using above equal comparisons.