mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 17:25:39 +01:00
Move into monaco-editor directory
This commit is contained in:
parent
eb6034e8a5
commit
497507ffee
426 changed files with 0 additions and 0 deletions
|
|
@ -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().
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue