0

How can one convert "object HTMLDivElement" to a string?

   let z = document.querySelector(".global_all_sessions");
   console.log(z) // No string`

Tried: z = String(z), but it didn't work.

Ahmed Ali
  • 1,908
  • 14
  • 28
Player_50B
  • 39
  • 3

0 Answers0