Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 434 Bytes

Items.md

File metadata and controls

55 lines (35 loc) · 434 Bytes

.items()

Returns the array of all items of a node.


Usage

const items = node.items();


Examples


Simple Values

{ 1 , 'Hello World' , 3 }
[ 1 , 'Hello World' , 3 ]

Properties

{ 1 , a { 2 } , 3 }
[ 1 , { name : 'a' , value : 2 } , 3 ]

Nodes

{ 1 , a { 2 , 3 } , 4 }
[ 1 , Node , 4 ]