Move into monaco-editor directory

This commit is contained in:
Alex Dima 2021-11-05 11:59:13 +01:00
parent eb6034e8a5
commit 497507ffee
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9
426 changed files with 0 additions and 0 deletions

View file

@ -1,33 +0,0 @@
"use strict";
function Person(age) {
if (age) {
this.age = age;
}
}
Person.prototype.getAge = function () {
return this.age;
};
function Student(age, grade) {
Person.call(this, age);
this.grade = grade;
}
Student.prototype = new Person();
Student.prototype.getGrade = function () {
return this.grade;
};
var s = new Student(24, 5.75);
//var age = s.
//delete s.age;
//s.getAge = function() { return {foo:"bar"}; };
//s.
//s.getAge().