kokobillsoft / BuildingMaket

0 stars 0 forks source link

DELETED: "Pen & Paper" issues: #5

Closed AlexisK closed 6 years ago

AlexisK commented 6 years ago

Make it work with the following usecase:

    var pen1 = new Pen ();
    var paper1 = new Paper ();

    pen1.write(paper1, 'Hi.\n');
    pen1.write(paper1, 'I think, inks are running low.\n');
    pen1.write(paper1, 'This should never be written!\n');

    console.log(paper1.print());
AlexisK commented 6 years ago

https://github.com/kokobillsoft/BuildingMaket/blob/master/AlexisLessons/SecondHomeWork/PenAndPaper.js