dojo clone : clone « Dojo toolkit « JavaScript Tutorial






<html>
  <head>
    <script type="text/javascript">
      var djConfig = {
        baseScriptUri : "js/dojo/"
      };
    </script>
    <script type="text/javascript" src="js/dojo/dojo/dojo.js"></script>
    <script>

      var c1 = new dojo.Color([255, 0, 0]);
      alert(c1);
      var c2 = dojo.clone(c1);
      alert(c2);
    </script>
  </head>
  <body></body>
</html>








29.6.clone
29.6.1.dojo clone
29.6.2.Clone node