Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Arvin iuunhao
Added: Jun 18, 2018 8:04 AM
Views: 5
Tags: js
  1. function hasSVG(){
  2.   SVG_NS = 'http://www.w3.org/2000/svg';
  3.   return !!document.createElementNS &&!!document.createElementNS(SVG_NS, 'svg').createSVGRect;
  4. }