How can you extract the id attribute of all the elements in the document with JavaScript?RamMay 25, 2021