<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<a xlink:href="//google.com">
<text x="0" y="0">Google</text>
</a>
</svg>
var Class = function() {};
Class.prototype.hello = function() {
alert('hello');
};
var object_1 = new Class();
var object_2 = new Class();
object_1.hello(); // hello
object_2.hello(); // hello
Class.prototype.hello = function() {
alert('привет');
};
object_1.hello(); // привет
object_2.hello(); // привет