Monthly Archive: March 2019

What is destructuring 0

What is destructuring

Destructuring allows you to easily extract values from Objects or Arrays and assign to new values or even assign default values to undefined properties Imagine this code : user = { name: ‘dave’, gender:...

What is a Pipeline Operator 0

What is a Pipeline Operator

Pipeline operator is still in draft stage and it might be part of next Js release. It’s a backwards-compatible way of streamlining chained function calls in a readable, functional manner let result = “hello”...

Why do we need threadlocal in Java 0

Why do we need threadlocal in Java

The ThreadLocal class in Java enables you to create variables that can only be read and written by the same thread. Thus, even if two threads are executing the same code, and the code has a...