А

Size: a a a
А
A
А
A
А
А
j
function MyClass () {
this.instanceOwnProperty = 3
}
MyClass.__proto__ = {
staticPrototypeProperty: 5
}
function method () {
console.log('call method')
console.log('staticOwnProperty', this.staticOwnProperty)
console.log('staticPrototypeProperty', this.staticPrototypeProperty)
console.log('instanceOwnProperty', this.instanceOwnProperty)
console.log('instancePrototypeProperty', this.instancePrototypeProperty)
}
MyClass.staticMethod = method
MyClass.staticOwnProperty = 1
MyClass.prototype.instanceMethod = method
MyClass.prototype.instancePrototypeProperty = 2
MyClass.staticMethod()
new MyClass().instanceMethod()
А
function MyClass () {
this.instanceOwnProperty = 3
}
MyClass.__proto__ = {
staticPrototypeProperty: 5
}
function method () {
console.log('call method')
console.log('staticOwnProperty', this.staticOwnProperty)
console.log('staticPrototypeProperty', this.staticPrototypeProperty)
console.log('instanceOwnProperty', this.instanceOwnProperty)
console.log('instancePrototypeProperty', this.instancePrototypeProperty)
}
MyClass.staticMethod = method
MyClass.staticOwnProperty = 1
MyClass.prototype.instanceMethod = method
MyClass.prototype.instancePrototypeProperty = 2
MyClass.staticMethod()
new MyClass().instanceMethod()
A
А
А
AG
j
AG
AG
AG
S
const lines = [
{
position: 1, attributes: {}
},
{
position: 2,
attributes: {
'section-item': { depth: '1', id: '6be8bd63-6488-4276-8efb-e991888e9ff5' }
},
},
{
position: 3,
attributes: {
list: {
depth: '1',
sectionId: '6be8bd63-6488-4276-8efb-e991888e9ff5',
}
},
},
{
position: 4,
attributes: {
'section-item': { depth: '2', id: 'e7b8c86c-b4d5-4873-a20c-446ef95224b2' }
},
},
{
position: 5,
attributes: {
list: {
depth: '2',
sectionId: 'e7b8c86c-b4d5-4873-a20c-446ef95224b2',
}
},
},
]