0

I want to close a currently opened tab when I click on a button using Angular 6. I have tried using window.close() function but it is returning a warning "Scripts may close only the windows that were opened by them.", How can I achieve this functionality?

0 Answers0