
JavaScript
- 3 ответа
- 0 вопросов
0
Вклад в тег
var deepThought = new function() {
var self = this;
this.answer = 42;
this.alertAnswer = function() {
alert(self.answer);
};
}