close
close();
- this function is used to close the window.
After testing, the function returns the result of its work to the script :
true
– found and closed.
false
– couldn't find it.