A definition first (from the internet): try-catch-finally is used to handle runtime errors and prevent them from halting the execution of a program. The finally block triggers regardless of: what is implemented inside the try-catch block any errors encountered inside try-catch block any return statement written...
Here’s how async-await function typically works: function myDummyBackendCall() { return new Promise((resolve) => { setTimeout(() => { resolve({ name: "Shivang", id: "asmdhajkdhajdsh8qweuqoweuiqepoi-0q-0eueiuaisjdaKcjaisku", }); }); }); } // Used an async wrapper function to make an await call (async () => { ...
Digital Transformation, Software development
A pointer, as name suggests, is a variable that points to a location in the memory of your system where a value is stored rather than a value itself. Basically, it is an address to the value stored in memory. The definition is simple but this concept can be a little tricky to wrap your head around. When I first developed a good...
AngularJS, Front End Development
AngularJS is quickly evolving and we have witnessed two major updates in the past 14 months. Now, this popular JavaScript framework has set a new milestone with its major release of Angular 5.0 on November 1, 2017. The progressive web apps and material design powered by Google will be however available in the next few days. The...
Go is an open source programming language initially developed by GOOGLE .When we say about key features,they are a good mixture of multiple languages like statically-typed language with syntax loosely derived from C, type safety, garbage collection, dynamic typing and contains large standard library. Through go, Google desires to...