Promise
Promise in JS got three states – resolve, reject and pending. Following example shows a reject state. Another example with resolve status Type the below in Chrome console and you will get the response in JSON format.
Promise in JS got three states – resolve, reject and pending. Following example shows a reject state. Another example with resolve status Type the below in Chrome console and you will get the response in JSON format.
document.data() » will return all the data on that particular doc document.id » will return the id of the document
YOU can get the path of locally installed binaries with To execute a locally installed Eg: backtopjs binary independent of where you are in the project directory hierarchy you can use this bash construct you can also aliased this to npm-exec So, now you can to run the correct copy of backtopjs no matter of …
How to use package installed locally in node_modules? Read More »
The idea here is to discuss some of the ES6 Java script titbits and just a simple comparison of the conventional way of doing things and much better way of doing things using ES 6 way:) I found this easier to check code quicker – https://stephengrider.github.io/JSPlaygrounds/ For Loop Map Filter Filter – another interesting example …