~yacinechaouche/+junk/BZR

« back to all changes in this revision

Viewing changes to CODE/TEST/JAVASCRIPT/constructor.html

  • Committer: yacinechaouche at yahoo
  • Date: 2015-01-14 22:23:03 UTC
  • Revision ID: yacinechaouche@yahoo.com-20150114222303-6gbtqqxii717vyka
Ajout de CODE et PROD. Il faudra ensuite ajouter ce qu'il y avait dan TMP

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<script>
 
2
howard = {
 
3
  name : "howard",
 
4
  init : function(name){this.name = name; return this;}
 
5
};
 
6
 
 
7
jack = Object.create(howard).init("jack")
 
8
console.debug(jack.name);
 
9
</script>