title: SVG rotation issue with JavaScript variables
body: <p>Is there a way to use a variable inside the rotation function in JavaScript? The script below does not work (x and y will not assigned).</p>
  
  <pre><code>var x = 20;
  var y = 20;
  object.children[0].setAttribute('transform','rotate(-20, x, y)');
  </code></pre>