- 主题:求简单的JavaScript教程
希望能读懂一些最基本的Js代码,比如下面这些。
浏览了一下w3cschool, 完全没讲到这些啊
var TreeItem = cr.ui.define(function() {
return treeItemProto.cloneNode(true);
});
TreeItem.prototype = {
__proto__: HTMLElement.prototype,
/**
* Initializes the element.
*/
decorate: function() {
},
/**
* The tree items children.
*/
get items() {
return this.lastElementChild.children;
},
...
--
FROM 192.102.204.*
好像有吧,你没找到
【 在 dpblue (deep blue) 的大作中提到: 】
: 希望能读懂一些最基本的Js代码,比如下面这些。
: 浏览了一下w3cschool, 完全没讲到这些啊
: var TreeItem = cr.ui.define(function() {
: ...................
--
FROM 118.224.9.*
google JSON,prototype
【 在 dpblue (deep blue) 的大作中提到: 】
希望能读懂一些最基本的Js代码,比如下面这些。
浏览了一下w3cschool, 完全没讲到这些啊
var TreeItem = cr.ui.define(function() {
return treeItemProto.cloneNode(true);
});
TreeItem.prototype = {
__proto__: HTMLElement.prototype,
/**
* Initializes the element.
*/
decorate: function() {
},
/**
* The tree items children.
*/
get items() {
return this.lastElementChild.children;
},
...
--
FROM 122.225.226.*