Message from JavaScript discussions

March 2019

— I've found it out


I copied it from an example, and somehow the "" were different from the ones I can type in my computer.

— Ahh

— That can happen :P

— “ vs "

— You should make it a habit to retype small snippets you want to copy from the web

— Hello everyone

— Hi

— Hey everyone, I have a query. I just read about the promises and the ways they are used (along with cancelling a promise). But I didn't find any need of cancelling a promise, and suppose if I am performing an api request using the fetch method (as the method returns a promise). If I cancel the promise what will happen to the api request ? will it be ignored ?

Message permanent page

— No, it will not be ignored

— It might still complete

— It just won't run the code that is potentially waiting for it to complete