<!DOCTYPE html> <html> <body> <script> var clipPath = document.createElementNS("http://www.w3.org/2000/svg", "clipPath"); clipPath["hasExtension"].apply(clipPath,[]); </script> </body> </html>