<!DOCTYPE html> <html> <body> <script> var x = document.createElement('span'); x.createShadowRoot(); x.id = 'a'; </script> </body> </html>