Skip to main content
Create new
Introduction
Reactivity
Props
Logic
Events
Bindings
Lifecycle
Stores
Motion
Transitions
Animations
Easing
SVG
Actions
Classes
Component composition
Context API
Special elements
Module context
Debugging
7GUIs
Miscellaneous
App.svelte
<!-- https://eugenkiss.github.io/7guis/tasks#crud -->

<script>
let people = $state([
{ first: 'Hans', last: 'Emil' },
{ first: 'Max', last: 'Mustermann' },
{ first: 'Roman', last: 'Tisch' }
]);

let prefix = $state('');
let first = $state('');
let last = $state('');
let i = $state(0);

let filteredPeople = $derived(prefix
? people.filter((person) => {
const name = `${person.last}, ${person.first}`;
return name.toLowerCase().startsWith(prefix.toLowerCase());
})
: people);
let selected = $derived(filteredPeople[i]);

$effect(() => {
reset_inputs(selected);
});

function create() {
people = people.concat({ first, last });
i = people.length - 1;
first = last = '';
}

function update() {
selected.first = first;
selected.last = last;
people = people;

Error compiling component

WebAssembly.instantiateStreaming(): value type opcode @+13
import 'svelte/internal/disclose-version';
import * as $ from 'svelte/internal/client';

function create(_, people, first, last, i) {
$.set(people, $.proxy($.get(people).concat({
first: $.get(first),
last: $.get(last)
})));

$.set(i, $.get(people).length - 1);
$.set(first, $.proxy($.set(last, '')));
}

function update(__1, selected, first, last, people) {
$.get(selected).first = $.get(first);
$.get(selected).last = $.get(last);
$.set(people, $.proxy($.get(people)));
}

function remove(
__2,
people,
selected,
first,
last,
i,
filteredPeople
) {
// Remove selected person from the source array (people), not the filtered array
const index = $.get(people).indexOf($.get(selected));

$.set(people, $.proxy([
...$.get(people).slice(0, index),
...$.get(people).slice(index + 1)
]));

result = svelte.compile(source, {
generate: ,
});

.svelte-lxvsk7 {
font-family: inherit;
font-size: inherit;
}

input.svelte-lxvsk7 {
display: block;
margin: 0 0 0.5em 0;
}

select.svelte-lxvsk7 {
float: left;
margin: 0 1em 1em 0;
width: 14em;
}

.buttons.svelte-lxvsk7 {
clear: both;
}

		
			
				
  • Root {
    • css: StyleSheet {...}
      • type: "StyleSheet"
      • start: 1794
      • end: 2016
      • attributes: []
      • children: [...] (4)
        • Rule {...}
          • type: "Rule"
          • prelude: SelectorList {...}
            • type: "SelectorList"
            • start: 1803
            • end: 1804
            • children: [...] (1)
              • ComplexSelector {...}
                • type: "ComplexSelector"
                • start: 1803
                • end: 1804
                • children: [...] (1)
                  • RelativeSelector {...}
                    • type: "RelativeSelector"
                    • combinator: null
                    • selectors: [...] (1)
                      • TypeSelector {...}
                        • type: "TypeSelector"
                        • name: "*"
                        • start: 1803
                        • end: 1804
                        }
                      ]
                    • start: 1803
                    • end: 1804
                    }
                  ]
                }
              ]
            }
          • block: Block {...}
            • type: "Block"
            • start: 1805
            • end: 1855
            • children: [...] (2)
              • Declaration {...}
                • type: "Declaration"
                • start: 1809
                • end: 1829
                • property: "font-family"
                • value: "inherit"
                }
              • Declaration {...}
                • type: "Declaration"
                • start: 1833
                • end: 1851
                • property: "font-size"
                • value: "inherit"
                }
              ]
            }
          • start: 1803
          • end: 1855
          }
        • Rule {...}
          • type: "Rule"
          • prelude: SelectorList {...}
            • type: "SelectorList"
            • start: 1858
            • end: 1863
            • children: [...] (1)
              • ComplexSelector {...}
                • type: "ComplexSelector"
                • start: 1858
                • end: 1863
                • children: [...] (1)
                  • RelativeSelector {...}
                    • type: "RelativeSelector"
                    • combinator: null
                    • selectors: [...] (1)
                      • TypeSelector {...}
                        • type: "TypeSelector"
                        • name: "input"
                        • start: 1858
                        • end: 1863
                        }
                      ]
                    • start: 1858
                    • end: 1863
                    }
                  ]
                }
              ]
            }
          • block: Block {...}
            • type: "Block"
            • start: 1864
            • end: 1909
            • children: [...] (2)
              • Declaration {...}
                • type: "Declaration"
                • start: 1868
                • end: 1882
                • property: "display"
                • value: "block"
                }
              • Declaration {...}
                • type: "Declaration"
                • start: 1886
                • end: 1905
                • property: "margin"
                • value: "0 0 0.5em 0"
                }
              ]
            }
          • start: 1858
          • end: 1909
          }
        • Rule {...}
          • type: "Rule"
          • prelude: SelectorList {...}
            • type: "SelectorList"
            • start: 1912
            • end: 1918
            • children: [...] (1)
              • ComplexSelector {...}
                • type: "ComplexSelector"
                • start: 1912
                • end: 1918
                • children: [...] (1)
                  • RelativeSelector {...}
                    • type: "RelativeSelector"
                    • combinator: null
                    • selectors: [...] (1)
                      • TypeSelector {...}
                        • type: "TypeSelector"
                        • name: "select"
                        • start: 1912
                        • end: 1918
                        }
                      ]
                    • start: 1912
                    • end: 1918
                    }
                  ]
                }
              ]
            }
          • block: Block {...}
            • type: "Block"
            • start: 1919
            • end: 1976
            • children: [...] (3)
              • Declaration {...}
                • type: "Declaration"
                • start: 1923
                • end: 1934
                • property: "float"
                • value: "left"
                }
              • Declaration {...}
                • type: "Declaration"
                • start: 1938
                • end: 1957
                • property: "margin"
                • value: "0 1em 1em 0"
                }
              • Declaration {...}
                • type: "Declaration"
                • start: 1961
                • end: 1972
                • property: "width"
                • value: "14em"
                }
              ]
            }
          • start: 1912
          • end: 1976
          }
        • Rule {...}
          • type: "Rule"
          • prelude: SelectorList {...}
            • type: "SelectorList"
            • start: 1979
            • end: 1987
            • children: [...] (1)
              • ComplexSelector {...}
                • type: "ComplexSelector"
                • start: 1979
                • end: 1987
                • children: [...] (1)
                  • RelativeSelector {...}
                    • type: "RelativeSelector"
                    • combinator: null
                    • selectors: [...] (1)
                      • ClassSelector {...}
                        • type: "ClassSelector"
                        • name: "buttons"
                        • start: 1979
                        • end: 1987
                        }
                      ]
                    • start: 1979
                    • end: 1987
                    }
                  ]
                }
              ]
            }
          • block: Block {...}
            • type: "Block"
            • start: 1988
            • end: 2007
            • children: [...] (1)
              • Declaration {...}
                • type: "Declaration"
                • start: 1992
                • end: 2003
                • property: "clear"
                • value: "both"
                }
              ]
            }
          • start: 1979
          • end: 2007
          }
        ]
      • content: {...}
        • start: 1801
        • end: 2008
        • styles: "\n\t* {\n\t\tfont-family: inherit;\n\t\tfont-size: inherit;\n\t}\n\n\tinput {\n\t\tdisplay: block;\n\t\tmargin: 0 0 0.5em 0;\n\t}\n\n\tselect {\n\t\tfloat: left;\n\t\tmargin: 0 1em 1em 0;\n\t\twidth: 14em;\n\t}\n\n\t.buttons {\n\t\tclear: both;\n\t}\n"
        • comment: null
        }
      }
    • js: []
    • start: 0
    • end: 1792
    • type: "Root"
    • fragment: Fragment {...}
      • type: "Fragment"
      • nodes: [...] (13)
        • Comment {...}
          • type: "Comment"
          • start: 0
          • end: 53
          • data: " https://eugenkiss.github.io/7guis/tasks#crud "
          }
        • Text {...}
          • type: "Text"
          • start: 53
          • end: 55
          • raw: "\n\n"
          • data: "\n\n"
          }
        • Text {...}
          • type: "Text"
          • start: 1213
          • end: 1215
          • raw: "\n\n"
          • data: "\n\n"
          }
        • RegularElement {...}
          • type: "RegularElement"
          • start: 1215
          • end: 1272
          • name: "input"
          • attributes: [...] (3)
            • Attribute {...}
              • type: "Attribute"
              • start: 1222
              • end: 1249
              • name: "placeholder"
              • value: [...] (1)
                • Text {...}
                  • start: 1235
                  • end: 1248
                  • type: "Text"
                  • raw: "filter prefix"
                  • data: "filter prefix"
                  }
                ]
              }
            • BindDirective {...}
              • start: 1250
              • end: 1269
              • type: "BindDirective"
              • name: "value"
              • expression: Identifier {...}
                • type: "Identifier"
                • start: 1262
                • end: 1268
                • loc: {...}
                  • start: {...}
                    • line: 54
                    • column: 47
                    }
                  • end: {...}
                    • line: 54
                    • column: 53
                    }
                  }
                • name: "prefix"
                }
              • modifiers: []
              }
            • Attribute {...}
              • type: "Attribute"
              • start: -1
              • end: -1
              • name: "class"
              • value: [...] (1)
                • Text {...}
                  • type: "Text"
                  • data: "svelte-lxvsk7"
                  • raw: "svelte-lxvsk7"
                  • start: -1
                  • end: -1
                  }
                ]
              }
            ]
          • fragment: Fragment {...}
            • type: "Fragment"
            • nodes: []
            }
          }
        • Text {...}
          • type: "Text"
          • start: 1272
          • end: 1274
          • raw: " "
          • data: " "
          }
        • RegularElement {...}
          • type: "RegularElement"
          • start: 1274
          • end: 1421
          • name: "select"
          • attributes: [...] (3)
            • BindDirective {...}
              • start: 1282
              • end: 1296
              • type: "BindDirective"
              • name: "value"
              • expression: Identifier {...}
                • type: "Identifier"
                • start: 1294
                • end: 1295
                • loc: {...}
                  • start: {...}
                    • line: 56
                    • column: 20
                    }
                  • end: {...}
                    • line: 56
                    • column: 21
                    }
                  }
                • name: "i"
                }
              • modifiers: []
              }
            • Attribute {...}
              • type: "Attribute"
              • start: 1297
              • end: 1305
              • name: "size"
              • value: ExpressionTag {...}
                • type: "ExpressionTag"
                • start: 1302
                • end: 1305
                • expression: Literal {...}
                  • type: "Literal"
                  • start: 1303
                  • end: 1304
                  • loc: {...}
                    • start: {...}
                      • line: 56
                      • column: 29
                      }
                    • end: {...}
                      • line: 56
                      • column: 30
                      }
                    }
                  • value: 5
                  • raw: "5"
                  }
                }
              }
            • Attribute {...}
              • type: "Attribute"
              • start: -1
              • end: -1
              • name: "class"
              • value: [...] (1)
                • Text {...}
                  • type: "Text"
                  • data: "svelte-lxvsk7"
                  • raw: "svelte-lxvsk7"
                  • start: -1
                  • end: -1
                  }
                ]
              }
            ]
          • fragment: Fragment {...}
            • type: "Fragment"
            • nodes: [...] (3)
              • Text {...}
                • type: "Text"
                • start: 1306
                • end: 1308
                • raw: "\n\t"
                • data: "\n\t"
                }
              • EachBlock {...}
                • type: "EachBlock"
                • start: 1308
                • end: 1411
                • expression: Identifier {...}
                  • type: "Identifier"
                  • start: 1315
                  • end: 1329
                  • loc: {...}
                    • start: {...}
                      • line: 57
                      • column: 8
                      }
                    • end: {...}
                      • line: 57
                      • column: 22
                      }
                    }
                  • name: "filteredPeople"
                  }
                • body: Fragment {...}
                  • type: "Fragment"
                  • nodes: [...] (3)
                    • Text {...}
                      • type: "Text"
                      • start: 1343
                      • end: 1346
                      • raw: "\n\t\t"
                      • data: "\n\t\t"
                      }
                    • RegularElement {...}
                      • type: "RegularElement"
                      • start: 1346
                      • end: 1402
                      • name: "option"
                      • attributes: [...] (2)
                        • Attribute {...}
                          • type: "Attribute"
                          • start: 1354
                          • end: 1363
                          • name: "value"
                          • value: ExpressionTag {...}
                            • type: "ExpressionTag"
                            • start: 1360
                            • end: 1363
                            • expression: Identifier {...}
                              • type: "Identifier"
                              • start: 1361
                              • end: 1362
                              • loc: {...}
                                • start: {...}
                                  • line: 58
                                  • column: 17
                                  }
                                • end: {...}
                                  • line: 58
                                  • column: 18
                                  }
                                }
                              • name: "i"
                              }
                            }
                          }
                        • Attribute {...}
                          • type: "Attribute"
                          • start: -1
                          • end: -1
                          • name: "class"
                          • value: [...] (1)
                            • Text {...}
                              • type: "Text"
                              • data: "svelte-lxvsk7"
                              • raw: "svelte-lxvsk7"
                              • start: -1
                              • end: -1
                              }
                            ]
                          }
                        ]
                      • fragment: Fragment {...}
                        • type: "Fragment"
                        • nodes: [...] (3)
                          • ExpressionTag {...}
                            • type: "ExpressionTag"
                            • start: 1364
                            • end: 1377
                            • expression: MemberExpression {...}
                              • type: "MemberExpression"
                              • start: 1365
                              • end: 1376
                              • loc: {...}
                                • start: {...}
                                  • line: 58
                                  • column: 21
                                  }
                                • end: {...}
                                  • line: 58
                                  • column: 32
                                  }
                                }
                              • object: Identifier {...}
                                • type: "Identifier"
                                • start: 1365
                                • end: 1371
                                • loc: {...}
                                  • start: {...}
                                    • line: 58
                                    • column: 21
                                    }
                                  • end: {...}
                                    • line: 58
                                    • column: 27
                                    }
                                  }
                                • name: "person"
                                }
                              • property: Identifier {...}
                                • type: "Identifier"
                                • start: 1372
                                • end: 1376
                                • loc: {...}
                                  • start: {...}
                                    • line: 58
                                    • column: 28
                                    }
                                  • end: {...}
                                    • line: 58
                                    • column: 32
                                    }
                                  }
                                • name: "last"
                                }
                              • computed: false
                              • optional: false
                              }
                            }
                          • Text {...}
                            • type: "Text"
                            • start: 1377
                            • end: 1379
                            • raw: ", "
                            • data: ", "
                            }
                          • ExpressionTag {...}
                            • type: "ExpressionTag"
                            • start: 1379
                            • end: 1393
                            • expression: MemberExpression {...}
                              • type: "MemberExpression"
                              • start: 1380
                              • end: 1392
                              • loc: {...}
                                • start: {...}
                                  • line: 58
                                  • column: 36
                                  }
                                • end: {...}
                                  • line: 58
                                  • column: 48
                                  }
                                }
                              • object: Identifier {...}
                                • type: "Identifier"
                                • start: 1380
                                • end: 1386
                                • loc: {...}
                                  • start: {...}
                                    • line: 58
                                    • column: 36
                                    }
                                  • end: {...}
                                    • line: 58
                                    • column: 42
                                    }
                                  }
                                • name: "person"
                                }
                              • property: Identifier {...}
                                • type: "Identifier"
                                • start: 1387
                                • end: 1392
                                • loc: {...}
                                  • start: {...}
                                    • line: 58
                                    • column: 43
                                    }
                                  • end: {...}
                                    • line: 58
                                    • column: 48
                                    }
                                  }
                                • name: "first"
                                }
                              • computed: false
                              • optional: false
                              }
                            }
                          ]
                        }
                      }
                    • Text {...}
                      • type: "Text"
                      • start: 1402
                      • end: 1404
                      • raw: "\n\t"
                      • data: "\n\t"
                      }
                    ]
                  }
                • context: Identifier {...}
                  • type: "Identifier"
                  • name: "person"
                  • start: 1333
                  • loc: {...}
                    • start: {...}
                      • line: 57
                      • column: 26
                      • character: 1333
                      }
                    • end: {...}
                      • line: 57
                      • column: 32
                      • character: 1339
                      }
                    }
                  • end: 1339
                  • typeAnnotation: undefined
                  }
                • index: "i"
                • key: undefined
                }
              • Text {...}
                • type: "Text"
                • start: 1411
                • end: 1412
                • raw: "\n"
                • data: "\n"
                }
              ]
            }
          }
        • Text {...}
          • type: "Text"
          • start: 1421
          • end: 1423
          • raw: " "
          • data: " "
          }
        • RegularElement {...}
          • type: "RegularElement"
          • start: 1423
          • end: 1486
          • name: "label"
          • attributes: [...] (1)
            • Attribute {...}
              • type: "Attribute"
              • start: -1
              • end: -1
              • name: "class"
              • value: [...] (1)
                • Text {...}
                  • type: "Text"
                  • data: "svelte-lxvsk7"
                  • raw: "svelte-lxvsk7"
                  • start: -1
                  • end: -1
                  }
                ]
              }
            ]
          • fragment: Fragment {...}
            • type: "Fragment"
            • nodes: [...] (1)
              • RegularElement {...}
                • type: "RegularElement"
                • start: 1430
                • end: 1478
                • name: "input"
                • attributes: [...] (3)
                  • BindDirective {...}
                    • start: 1437
                    • end: 1455
                    • type: "BindDirective"
                    • name: "value"
                    • expression: Identifier {...}
                      • type: "Identifier"
                      • start: 1449
                      • end: 1454
                      • loc: {...}
                        • start: {...}
                          • line: 62
                          • column: 26
                          }
                        • end: {...}
                          • line: 62
                          • column: 31
                          }
                        }
                      • name: "first"
                      }
                    • modifiers: []
                    }
                  • Attribute {...}
                    • type: "Attribute"
                    • start: 1456
                    • end: 1475
                    • name: "placeholder"
                    • value: [...] (1)
                      • Text {...}
                        • start: 1469
                        • end: 1474
                        • type: "Text"
                        • raw: "first"
                        • data: "first"
                        }
                      ]
                    }
                  • Attribute {...}
                    • type: "Attribute"
                    • start: -1
                    • end: -1
                    • name: "class"
                    • value: [...] (1)
                      • Text {...}
                        • type: "Text"
                        • data: "svelte-lxvsk7"
                        • raw: "svelte-lxvsk7"
                        • start: -1
                        • end: -1
                        }
                      ]
                    }
                  ]
                • fragment: Fragment {...}
                  • type: "Fragment"
                  • nodes: []
                  }
                }
              ]
            }
          }
        • Text {...}
          • type: "Text"
          • start: 1486
          • end: 1487
          • raw: " "
          • data: " "
          }
        • RegularElement {...}
          • type: "RegularElement"
          • start: 1487
          • end: 1548
          • name: "label"
          • attributes: [...] (1)
            • Attribute {...}
              • type: "Attribute"
              • start: -1
              • end: -1
              • name: "class"
              • value: [...] (1)
                • Text {...}
                  • type: "Text"
                  • data: "svelte-lxvsk7"
                  • raw: "svelte-lxvsk7"
                  • start: -1
                  • end: -1
                  }
                ]
              }
            ]
          • fragment: Fragment {...}
            • type: "Fragment"
            • nodes: [...] (1)
              • RegularElement {...}
                • type: "RegularElement"
                • start: 1494
                • end: 1540
                • name: "input"
                • attributes: [...] (3)
                  • BindDirective {...}
                    • start: 1501
                    • end: 1518
                    • type: "BindDirective"
                    • name: "value"
                    • expression: Identifier {...}
                      • type: "Identifier"
                      • start: 1513
                      • end: 1517
                      • loc: {...}
                        • start: {...}
                          • line: 63
                          • column: 26
                          }
                        • end: {...}
                          • line: 63
                          • column: 30
                          }
                        }
                      • name: "last"
                      }
                    • modifiers: []
                    }
                  • Attribute {...}
                    • type: "Attribute"
                    • start: 1519
                    • end: 1537
                    • name: "placeholder"
                    • value: [...] (1)
                      • Text {...}
                        • start: 1532
                        • end: 1536
                        • type: "Text"
                        • raw: "last"
                        • data: "last"
                        }
                      ]
                    }
                  • Attribute {...}
                    • type: "Attribute"
                    • start: -1
                    • end: -1
                    • name: "class"
                    • value: [...] (1)
                      • Text {...}
                        • type: "Text"
                        • data: "svelte-lxvsk7"
                        • raw: "svelte-lxvsk7"
                        • start: -1
                        • end: -1
                        }
                      ]
                    }
                  ]
                • fragment: Fragment {...}
                  • type: "Fragment"
                  • nodes: []
                  }
                }
              ]
            }
          }
        • Text {...}
          • type: "Text"
          • start: 1548
          • end: 1550
          • raw: " "
          • data: " "
          }
        • RegularElement {...}
          • type: "RegularElement"
          • start: 1550
          • end: 1792
          • name: "div"
          • attributes: [...] (1)
            • Attribute {...}
              • type: "Attribute"
              • start: 1555
              • end: 1570
              • name: "class"
              • value: [...] (1)
                • Text {...}
                  • start: 1562
                  • end: 1569
                  • type: "Text"
                  • raw: "buttons"
                  • data: "buttons svelte-lxvsk7"
                  }
                ]
              }
            ]
          • fragment: Fragment {...}
            • type: "Fragment"
            • nodes: [...] (7)
              • Text {...}
                • type: "Text"
                • start: 1571
                • end: 1573
                • raw: "\n\t"
                • data: "\n\t"
                }
              • RegularElement {...}
                • type: "RegularElement"
                • start: 1573
                • end: 1640
                • name: "button"
                • attributes: [...] (3)
                  • Attribute {...}
                    • type: "Attribute"
                    • start: 1581
                    • end: 1597
                    • name: "onclick"
                    • value: ExpressionTag {...}
                      • type: "ExpressionTag"
                      • start: 1589
                      • end: 1597
                      • expression: Identifier {...}
                        • type: "Identifier"
                        • start: 1590
                        • end: 1596
                        • loc: {...}
                          • start: {...}
                            • line: 66
                            • column: 18
                            }
                          • end: {...}
                            • line: 66
                            • column: 24
                            }
                          }
                        • name: "create"
                        }
                      }
                    }
                  • Attribute {...}
                    • type: "Attribute"
                    • start: 1598
                    • end: 1624
                    • name: "disabled"
                    • value: ExpressionTag {...}
                      • type: "ExpressionTag"
                      • start: 1607
                      • end: 1624
                      • expression: LogicalExpression {...}
                        • type: "LogicalExpression"
                        • start: 1608
                        • end: 1623
                        • loc: {...}
                          • start: {...}
                            • line: 66
                            • column: 36
                            }
                          • end: {...}
                            • line: 66
                            • column: 51
                            }
                          }
                        • left: UnaryExpression {...}
                          • type: "UnaryExpression"
                          • start: 1608
                          • end: 1614
                          • loc: {...}
                            • start: {...}
                              • line: 66
                              • column: 36
                              }
                            • end: {...}
                              • line: 66
                              • column: 42
                              }
                            }
                          • operator: "!"
                          • prefix: true
                          • argument: Identifier {...}
                            • type: "Identifier"
                            • start: 1609
                            • end: 1614
                            • loc: {...}
                              • start: {...}
                                • line: 66
                                • column: 37
                                }
                              • end: {...}
                                • line: 66
                                • column: 42
                                }
                              }
                            • name: "first"
                            }
                          }
                        • operator: "||"
                        • right: UnaryExpression {...}
                          • type: "UnaryExpression"
                          • start: 1618
                          • end: 1623
                          • loc: {...}
                            • start: {...}
                              • line: 66
                              • column: 46
                              }
                            • end: {...}
                              • line: 66
                              • column: 51
                              }
                            }
                          • operator: "!"
                          • prefix: true
                          • argument: Identifier {...}
                            • type: "Identifier"
                            • start: 1619
                            • end: 1623
                            • loc: {...}
                              • start: {...}
                                • line: 66
                                • column: 47
                                }
                              • end: {...}
                                • line: 66
                                • column: 51
                                }
                              }
                            • name: "last"
                            }
                          }
                        }
                      }
                    }
                  • Attribute {...}
                    • type: "Attribute"
                    • start: -1
                    • end: -1
                    • name: "class"
                    • value: [...] (1)
                      • Text {...}
                        • type: "Text"
                        • data: "svelte-lxvsk7"
                        • raw: "svelte-lxvsk7"
                        • start: -1
                        • end: -1
                        }
                      ]
                    }
                  ]
                • fragment: Fragment {...}
                  • type: "Fragment"
                  • nodes: [...] (1)
                    • Text {...}
                      • type: "Text"
                      • start: 1625
                      • end: 1631
                      • raw: "create"
                      • data: "create"
                      }
                    ]
                  }
                }
              • Text {...}
                • type: "Text"
                • start: 1640
                • end: 1642
                • raw: " "
                • data: " "
                }
              • RegularElement {...}
                • type: "RegularElement"
                • start: 1642
                • end: 1722
                • name: "button"
                • attributes: [...] (3)
                  • Attribute {...}
                    • type: "Attribute"
                    • start: 1650
                    • end: 1666
                    • name: "onclick"
                    • value: ExpressionTag {...}
                      • type: "ExpressionTag"
                      • start: 1658
                      • end: 1666
                      • expression: Identifier {...}
                        • type: "Identifier"
                        • start: 1659
                        • end: 1665
                        • loc: {...}
                          • start: {...}
                            • line: 67
                            • column: 18
                            }
                          • end: {...}
                            • line: 67
                            • column: 24
                            }
                          }
                        • name: "update"
                        }
                      }
                    }
                  • Attribute {...}
                    • type: "Attribute"
                    • start: 1667
                    • end: 1706
                    • name: "disabled"
                    • value: ExpressionTag {...}
                      • type: "ExpressionTag"
                      • start: 1676
                      • end: 1706
                      • expression: LogicalExpression {...}
                        • type: "LogicalExpression"
                        • start: 1677
                        • end: 1705
                        • loc: {...}
                          • start: {...}
                            • line: 67
                            • column: 36
                            }
                          • end: {...}
                            • line: 67
                            • column: 64
                            }
                          }
                        • left: LogicalExpression {...}
                          • type: "LogicalExpression"
                          • start: 1677
                          • end: 1692
                          • loc: {...}
                            • start: {...}
                              • line: 67
                              • column: 36
                              }
                            • end: {...}
                              • line: 67
                              • column: 51
                              }
                            }
                          • left: UnaryExpression {...}
                            • type: "UnaryExpression"
                            • start: 1677
                            • end: 1683
                            • loc: {...}
                              • start: {...}
                                • line: 67
                                • column: 36
                                }
                              • end: {...}
                                • line: 67
                                • column: 42
                                }
                              }
                            • operator: "!"
                            • prefix: true
                            • argument: Identifier {...}
                              • type: "Identifier"
                              • start: 1678
                              • end: 1683
                              • loc: {...}
                                • start: {...}
                                  • line: 67
                                  • column: 37
                                  }
                                • end: {...}
                                  • line: 67
                                  • column: 42
                                  }
                                }
                              • name: "first"
                              }
                            }
                          • operator: "||"
                          • right: UnaryExpression {...}
                            • type: "UnaryExpression"
                            • start: 1687
                            • end: 1692
                            • loc: {...}
                              • start: {...}
                                • line: 67
                                • column: 46
                                }
                              • end: {...}
                                • line: 67
                                • column: 51
                                }
                              }
                            • operator: "!"
                            • prefix: true
                            • argument: Identifier {...}
                              • type: "Identifier"
                              • start: 1688
                              • end: 1692
                              • loc: {...}
                                • start: {...}
                                  • line: 67
                                  • column: 47
                                  }
                                • end: {...}
                                  • line: 67
                                  • column: 51
                                  }
                                }
                              • name: "last"
                              }
                            }
                          }
                        • operator: "||"
                        • right: UnaryExpression {...}
                          • type: "UnaryExpression"
                          • start: 1696
                          • end: 1705
                          • loc: {...}
                            • start: {...}
                              • line: 67
                              • column: 55
                              }
                            • end: {...}
                              • line: 67
                              • column: 64
                              }
                            }
                          • operator: "!"
                          • prefix: true
                          • argument: Identifier {...}
                            • type: "Identifier"
                            • start: 1697
                            • end: 1705
                            • loc: {...}
                              • start: {...}
                                • line: 67
                                • column: 56
                                }
                              • end: {...}
                                • line: 67
                                • column: 64
                                }
                              }
                            • name: "selected"
                            }
                          }
                        }
                      }
                    }
                  • Attribute {...}
                    • type: "Attribute"
                    • start: -1
                    • end: -1
                    • name: "class"
                    • value: [...] (1)
                      • Text {...}
                        • type: "Text"
                        • data: "svelte-lxvsk7"
                        • raw: "svelte-lxvsk7"
                        • start: -1
                        • end: -1
                        }
                      ]
                    }
                  ]
                • fragment: Fragment {...}
                  • type: "Fragment"
                  • nodes: [...] (1)
                    • Text {...}
                      • type: "Text"
                      • start: 1707
                      • end: 1713
                      • raw: "update"
                      • data: "update"
                      }
                    ]
                  }
                }
              • Text {...}
                • type: "Text"
                • start: 1722
                • end: 1724
                • raw: " "
                • data: " "
                }
              • RegularElement {...}
                • type: "RegularElement"
                • start: 1724
                • end: 1785
                • name: "button"
                • attributes: [...] (3)
                  • Attribute {...}
                    • type: "Attribute"
                    • start: 1732
                    • end: 1748
                    • name: "onclick"
                    • value: ExpressionTag {...}
                      • type: "ExpressionTag"
                      • start: 1740
                      • end: 1748
                      • expression: Identifier {...}
                        • type: "Identifier"
                        • start: 1741
                        • end: 1747
                        • loc: {...}
                          • start: {...}
                            • line: 68
                            • column: 18
                            }
                          • end: {...}
                            • line: 68
                            • column: 24
                            }
                          }
                        • name: "remove"
                        }
                      }
                    }
                  • Attribute {...}
                    • type: "Attribute"
                    • start: 1749
                    • end: 1769
                    • name: "disabled"
                    • value: ExpressionTag {...}
                      • type: "ExpressionTag"
                      • start: 1758
                      • end: 1769
                      • expression: UnaryExpression {...}
                        • type: "UnaryExpression"
                        • start: 1759
                        • end: 1768
                        • loc: {...}
                          • start: {...}
                            • line: 68
                            • column: 36
                            }
                          • end: {...}
                            • line: 68
                            • column: 45
                            }
                          }
                        • operator: "!"
                        • prefix: true
                        • argument: Identifier {...}
                          • type: "Identifier"
                          • start: 1760
                          • end: 1768
                          • loc: {...}
                            • start: {...}
                              • line: 68
                              • column: 37
                              }
                            • end: {...}
                              • line: 68
                              • column: 45
                              }
                            }
                          • name: "selected"
                          }
                        }
                      }
                    }
                  • Attribute {...}
                    • type: "Attribute"
                    • start: -1
                    • end: -1
                    • name: "class"
                    • value: [...] (1)
                      • Text {...}
                        • type: "Text"
                        • data: "svelte-lxvsk7"
                        • raw: "svelte-lxvsk7"
                        • start: -1
                        • end: -1
                        }
                      ]
                    }
                  ]
                • fragment: Fragment {...}
                  • type: "Fragment"
                  • nodes: [...] (1)
                    • Text {...}
                      • type: "Text"
                      • start: 1770
                      • end: 1776
                      • raw: "delete"
                      • data: "delete"
                      }
                    ]
                  }
                }
              • Text {...}
                • type: "Text"
                • start: 1785
                • end: 1786
                • raw: "\n"
                • data: "\n"
                }
              ]
            }
          }
        • Text {...}
          • type: "Text"
          • start: 1792
          • end: 1794
          • raw: "\n\n"
          • data: "\n\n"
          }
        ]
      }
    • options: null
    • instance: Script {...}
      • type: "Script"
      • start: 55
      • end: 1213
      • context: "default"
      • content: Program {...}
        • type: "Program"
        • start: 63
        • end: 1204
        • loc: {...}
          • start: {...}
            • line: 1
            • column: 0
            }
          • end: {...}
            • line: 52
            • column: 0
            }
          }
        • body: [...] (12)
          • VariableDeclaration {...}
            • type: "VariableDeclaration"
            • start: 65
            • end: 202
            • loc: {...}
              • start: {...}
                • line: 4
                • column: 1
                }
              • end: {...}
                • line: 8
                • column: 4
                }
              }
            • declarations: [...] (1)
              • VariableDeclarator {...}
                • type: "VariableDeclarator"
                • start: 69
                • end: 201
                • loc: {...}
                  • start: {...}
                    • line: 4
                    • column: 5
                    }
                  • end: {...}
                    • line: 8
                    • column: 3
                    }
                  }
                • id: Identifier {...}
                  • type: "Identifier"
                  • start: 69
                  • end: 75
                  • loc: {...}
                    • start: {...}
                      • line: 4
                      • column: 5
                      }
                    • end: {...}
                      • line: 4
                      • column: 11
                      }
                    }
                  • name: "people"
                  }
                • init: CallExpression {...}
                  • type: "CallExpression"
                  • start: 78
                  • end: 201
                  • loc: {...}
                    • start: {...}
                      • line: 4
                      • column: 14
                      }
                    • end: {...}
                      • line: 8
                      • column: 3
                      }
                    }
                  • callee: Identifier {...}
                    • type: "Identifier"
                    • start: 78
                    • end: 84
                    • loc: {...}
                      • start: {...}
                        • line: 4
                        • column: 14
                        }
                      • end: {...}
                        • line: 4
                        • column: 20
                        }
                      }
                    • name: "$state"
                    }
                  • arguments: [...] (1)
                    • ArrayExpression {...}
                      • type: "ArrayExpression"
                      • start: 85
                      • end: 200
                      • loc: {...}
                        • start: {...}
                          • line: 4
                          • column: 21
                          }
                        • end: {...}
                          • line: 8
                          • column: 2
                          }
                        }
                      • elements: [...] (3)
                        • ObjectExpression {...}
                          • type: "ObjectExpression"
                          • start: 89
                          • end: 120
                          • loc: {...}
                            • start: {...}
                              • line: 5
                              • column: 2
                              }
                            • end: {...}
                              • line: 5
                              • column: 33
                              }
                            }
                          • properties: [...] (2)
                            • Property {...}
                              • type: "Property"
                              • start: 91
                              • end: 104
                              • loc: {...}
                                • start: {...}
                                  • line: 5
                                  • column: 4
                                  }
                                • end: {...}
                                  • line: 5
                                  • column: 17
                                  }
                                }
                              • method: false
                              • shorthand: false
                              • computed: false
                              • key: Identifier {...}
                                • type: "Identifier"
                                • start: 91
                                • end: 96
                                • loc: {...}
                                  • start: {...}
                                    • line: 5
                                    • column: 4
                                    }
                                  • end: {...}
                                    • line: 5
                                    • column: 9
                                    }
                                  }
                                • name: "first"
                                }
                              • value: Literal {...}
                                • type: "Literal"
                                • start: 98
                                • end: 104
                                • loc: {...}
                                  • start: {...}
                                    • line: 5
                                    • column: 11
                                    }
                                  • end: {...}
                                    • line: 5
                                    • column: 17
                                    }
                                  }
                                • value: "Hans"
                                • raw: "'Hans'"
                                }
                              • kind: "init"
                              }
                            • Property {...}
                              • type: "Property"
                              • start: 106
                              • end: 118
                              • loc: {...}
                                • start: {...}
                                  • line: 5
                                  • column: 19
                                  }
                                • end: {...}
                                  • line: 5
                                  • column: 31
                                  }
                                }
                              • method: false
                              • shorthand: false
                              • computed: false
                              • key: Identifier {...}
                                • type: "Identifier"
                                • start: 106
                                • end: 110
                                • loc: {...}
                                  • start: {...}
                                    • line: 5
                                    • column: 19
                                    }
                                  • end: {...}
                                    • line: 5
                                    • column: 23
                                    }
                                  }
                                • name: "last"
                                }
                              • value: Literal {...}
                                • type: "Literal"
                                • start: 112
                                • end: 118
                                • loc: {...}
                                  • start: {...}
                                    • line: 5
                                    • column: 25
                                    }
                                  • end: {...}
                                    • line: 5
                                    • column: 31
                                    }
                                  }
                                • value: "Emil"
                                • raw: "'Emil'"
                                }
                              • kind: "init"
                              }
                            ]
                          }
                        • ObjectExpression {...}
                          • type: "ObjectExpression"
                          • start: 124
                          • end: 160
                          • loc: {...}
                            • start: {...}
                              • line: 6
                              • column: 2
                              }
                            • end: {...}
                              • line: 6
                              • column: 38
                              }
                            }
                          • properties: [...] (2)
                            • Property {...}
                              • type: "Property"
                              • start: 126
                              • end: 138
                              • loc: {...}
                                • start: {...}
                                  • line: 6
                                  • column: 4
                                  }
                                • end: {...}
                                  • line: 6
                                  • column: 16
                                  }
                                }
                              • method: false
                              • shorthand: false
                              • computed: false
                              • key: Identifier {...}
                                • type: "Identifier"
                                • start: 126
                                • end: 131
                                • loc: {...}
                                  • start: {...}
                                    • line: 6
                                    • column: 4
                                    }
                                  • end: {...}
                                    • line: 6
                                    • column: 9
                                    }
                                  }
                                • name: "first"
                                }
                              • value: Literal {...}
                                • type: "Literal"
                                • start: 133
                                • end: 138
                                • loc: {...}
                                  • start: {...}
                                    • line: 6
                                    • column: 11
                                    }
                                  • end: {...}
                                    • line: 6
                                    • column: 16
                                    }
                                  }
                                • value: "Max"
                                • raw: "'Max'"
                                }
                              • kind: "init"
                              }
                            • Property {...}
                              • type: "Property"
                              • start: 140
                              • end: 158
                              • loc: {...}
                                • start: {...}
                                  • line: 6
                                  • column: 18
                                  }
                                • end: {...}
                                  • line: 6
                                  • column: 36
                                  }
                                }
                              • method: false
                              • shorthand: false
                              • computed: false
                              • key: Identifier {...}
                                • type: "Identifier"
                                • start: 140
                                • end: 144
                                • loc: {...}
                                  • start: {...}
                                    • line: 6
                                    • column: 18
                                    }
                                  • end: {...}
                                    • line: 6
                                    • column: 22
                                    }
                                  }
                                • name: "last"
                                }
                              • value: Literal {...}
                                • type: "Literal"
                                • start: 146
                                • end: 158
                                • loc: {...}
                                  • start: {...}
                                    • line: 6
                                    • column: 24
                                    }
                                  • end: {...}
                                    • line: 6
                                    • column: 36
                                    }
                                  }
                                • value: "Mustermann"
                                • raw: "'Mustermann'"
                                }
                              • kind: "init"
                              }
                            ]
                          }
                        • ObjectExpression {...}
                          • type: "ObjectExpression"
                          • start: 164
                          • end: 197
                          • loc: {...}
                            • start: {...}
                              • line: 7
                              • column: 2
                              }
                            • end: {...}
                              • line: 7
                              • column: 35
                              }
                            }
                          • properties: [...] (2)
                            • Property {...}
                              • type: "Property"
                              • start: 166
                              • end: 180
                              • loc: {...}
                                • start: {...}
                                  • line: 7
                                  • column: 4
                                  }
                                • end: {...}
                                  • line: 7
                                  • column: 18
                                  }
                                }
                              • method: false
                              • shorthand: false
                              • computed: false
                              • key: Identifier {...}
                                • type: "Identifier"
                                • start: 166
                                • end: 171
                                • loc: {...}
                                  • start: {...}
                                    • line: 7
                                    • column: 4
                                    }
                                  • end: {...}
                                    • line: 7
                                    • column: 9
                                    }
                                  }
                                • name: "first"
                                }
                              • value: Literal {...}
                                • type: "Literal"
                                • start: 173
                                • end: 180
                                • loc: {...}
                                  • start: {...}
                                    • line: 7
                                    • column: 11
                                    }
                                  • end: {...}
                                    • line: 7
                                    • column: 18
                                    }
                                  }
                                • value: "Roman"
                                • raw: "'Roman'"
                                }
                              • kind: "init"
                              }
                            • Property {...}
                              • type: "Property"
                              • start: 182
                              • end: 195
                              • loc: {...}
                                • start: {...}
                                  • line: 7
                                  • column: 20
                                  }
                                • end: {...}
                                  • line: 7
                                  • column: 33
                                  }
                                }
                              • method: false
                              • shorthand: false
                              • computed: false
                              • key: Identifier {...}
                                • type: "Identifier"
                                • start: 182
                                • end: 186
                                • loc: {...}
                                  • start: {...}
                                    • line: 7
                                    • column: 20
                                    }
                                  • end: {...}
                                    • line: 7
                                    • column: 24
                                    }
                                  }
                                • name: "last"
                                }
                              • value: Literal {...}
                                • type: "Literal"
                                • start: 188
                                • end: 195
                                • loc: {...}
                                  • start: {...}
                                    • line: 7
                                    • column: 26
                                    }
                                  • end: {...}
                                    • line: 7
                                    • column: 33
                                    }
                                  }
                                • value: "Tisch"
                                • raw: "'Tisch'"
                                }
                              • kind: "init"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  • optional: false
                  }
                }
              ]
            • kind: "let"
            }
          • VariableDeclaration {...}
            • type: "VariableDeclaration"
            • start: 205
            • end: 229
            • loc: {...}
              • start: {...}
                • line: 10
                • column: 1
                }
              • end: {...}
                • line: 10
                • column: 25
                }
              }
            • declarations: [...] (1)
              • VariableDeclarator {...}
                • type: "VariableDeclarator"
                • start: 209
                • end: 228
                • loc: {...}
                  • start: {...}
                    • line: 10
                    • column: 5
                    }
                  • end: {...}
                    • line: 10
                    • column: 24
                    }
                  }
                • id: Identifier {...}
                  • type: "Identifier"
                  • start: 209
                  • end: 215
                  • loc: {...}
                    • start: {...}
                      • line: 10
                      • column: 5
                      }
                    • end: {...}
                      • line: 10
                      • column: 11
                      }
                    }
                  • name: "prefix"
                  }
                • init: CallExpression {...}
                  • type: "CallExpression"
                  • start: 218
                  • end: 228
                  • loc: {...}
                    • start: {...}
                      • line: 10
                      • column: 14
                      }
                    • end: {...}
                      • line: 10
                      • column: 24
                      }
                    }
                  • callee: Identifier {...}
                    • type: "Identifier"
                    • start: 218
                    • end: 224
                    • loc: {...}
                      • start: {...}
                        • line: 10
                        • column: 14
                        }
                      • end: {...}
                        • line: 10
                        • column: 20
                        }
                      }
                    • name: "$state"
                    }
                  • arguments: [...] (1)
                    • Literal {...}
                      • type: "Literal"
                      • start: 225
                      • end: 227
                      • loc: {...}
                        • start: {...}
                          • line: 10
                          • column: 21
                          }
                        • end: {...}
                          • line: 10
                          • column: 23
                          }
                        }
                      • value: ""
                      • raw: "''"
                      }
                    ]
                  • optional: false
                  }
                }
              ]
            • kind: "let"
            }
          • VariableDeclaration {...}
            • type: "VariableDeclaration"
            • start: 231
            • end: 254
            • loc: {...}
              • start: {...}
                • line: 11
                • column: 1
                }
              • end: {...}
                • line: 11
                • column: 24
                }
              }
            • declarations: [...] (1)
              • VariableDeclarator {...}
                • type: "VariableDeclarator"
                • start: 235
                • end: 253
                • loc: {...}
                  • start: {...}
                    • line: 11
                    • column: 5
                    }
                  • end: {...}
                    • line: 11
                    • column: 23
                    }
                  }
                • id: Identifier {...}
                  • type: "Identifier"
                  • start: 235
                  • end: 240
                  • loc: {...}
                    • start: {...}
                      • line: 11
                      • column: 5
                      }
                    • end: {...}
                      • line: 11
                      • column: 10
                      }
                    }
                  • name: "first"
                  }
                • init: CallExpression {...}
                  • type: "CallExpression"
                  • start: 243
                  • end: 253
                  • loc: {...}
                    • start: {...}
                      • line: 11
                      • column: 13
                      }
                    • end: {...}
                      • line: 11
                      • column: 23
                      }
                    }
                  • callee: Identifier {...}
                    • type: "Identifier"
                    • start: 243
                    • end: 249
                    • loc: {...}
                      • start: {...}
                        • line: 11
                        • column: 13
                        }
                      • end: {...}
                        • line: 11
                        • column: 19
                        }
                      }
                    • name: "$state"
                    }
                  • arguments: [...] (1)
                    • Literal {...}
                      • type: "Literal"
                      • start: 250
                      • end: 252
                      • loc: {...}
                        • start: {...}
                          • line: 11
                          • column: 20
                          }
                        • end: {...}
                          • line: 11
                          • column: 22
                          }
                        }
                      • value: ""
                      • raw: "''"
                      }
                    ]
                  • optional: false
                  }
                }
              ]
            • kind: "let"
            }
          • VariableDeclaration {...}
            • type: "VariableDeclaration"
            • start: 256
            • end: 278
            • loc: {...}
              • start: {...}
                • line: 12
                • column: 1
                }
              • end: {...}
                • line: 12
                • column: 23
                }
              }
            • declarations: [...] (1)
              • VariableDeclarator {...}
                • type: "VariableDeclarator"
                • start: 260
                • end: 277
                • loc: {...}
                  • start: {...}
                    • line: 12
                    • column: 5
                    }
                  • end: {...}
                    • line: 12
                    • column: 22
                    }
                  }
                • id: Identifier {...}
                  • type: "Identifier"
                  • start: 260
                  • end: 264
                  • loc: {...}
                    • start: {...}
                      • line: 12
                      • column: 5
                      }
                    • end: {...}
                      • line: 12
                      • column: 9
                      }
                    }
                  • name: "last"
                  }
                • init: CallExpression {...}
                  • type: "CallExpression"
                  • start: 267
                  • end: 277
                  • loc: {...}
                    • start: {...}
                      • line: 12
                      • column: 12
                      }
                    • end: {...}
                      • line: 12
                      • column: 22
                      }
                    }
                  • callee: Identifier {...}
                    • type: "Identifier"
                    • start: 267
                    • end: 273
                    • loc: {...}
                      • start: {...}
                        • line: 12
                        • column: 12
                        }
                      • end: {...}
                        • line: 12
                        • column: 18
                        }
                      }
                    • name: "$state"
                    }
                  • arguments: [...] (1)
                    • Literal {...}
                      • type: "Literal"
                      • start: 274
                      • end: 276
                      • loc: {...}
                        • start: {...}
                          • line: 12
                          • column: 19
                          }
                        • end: {...}
                          • line: 12
                          • column: 21
                          }
                        }
                      • value: ""
                      • raw: "''"
                      }
                    ]
                  • optional: false
                  }
                }
              ]
            • kind: "let"
            }
          • VariableDeclaration {...}
            • type: "VariableDeclaration"
            • start: 280
            • end: 298
            • loc: {...}
              • start: {...}
                • line: 13
                • column: 1
                }
              • end: {...}
                • line: 13
                • column: 19
                }
              }
            • declarations: [...] (1)
              • VariableDeclarator {...}
                • type: "VariableDeclarator"
                • start: 284
                • end: 297
                • loc: {...}
                  • start: {...}
                    • line: 13
                    • column: 5
                    }
                  • end: {...}
                    • line: 13
                    • column: 18
                    }
                  }
                • id: Identifier {...}
                  • type: "Identifier"
                  • start: 284
                  • end: 285
                  • loc: {...}
                    • start: {...}
                      • line: 13
                      • column: 5
                      }
                    • end: {...}
                      • line: 13
                      • column: 6
                      }
                    }
                  • name: "i"
                  }
                • init: CallExpression {...}
                  • type: "CallExpression"
                  • start: 288
                  • end: 297
                  • loc: {...}
                    • start: {...}
                      • line: 13
                      • column: 9
                      }
                    • end: {...}
                      • line: 13
                      • column: 18
                      }
                    }
                  • callee: Identifier {...}
                    • type: "Identifier"
                    • start: 288
                    • end: 294
                    • loc: {...}
                      • start: {...}
                        • line: 13
                        • column: 9
                        }
                      • end: {...}
                        • line: 13
                        • column: 15
                        }
                      }
                    • name: "$state"
                    }
                  • arguments: [...] (1)
                    • Literal {...}
                      • type: "Literal"
                      • start: 295
                      • end: 296
                      • loc: {...}
                        • start: {...}
                          • line: 13
                          • column: 16
                          }
                        • end: {...}
                          • line: 13
                          • column: 17
                          }
                        }
                      • value: 0
                      • raw: "0"
                      }
                    ]
                  • optional: false
                  }
                }
              ]
            • kind: "let"
            }
          • VariableDeclaration {...}
            • type: "VariableDeclaration"
            • start: 301
            • end: 504
            • loc: {...}
              • start: {...}
                • line: 15
                • column: 1
                }
              • end: {...}
                • line: 20
                • column: 12
                }
              }
            • declarations: [...] (1)
              • VariableDeclarator {...}
                • type: "VariableDeclarator"
                • start: 305
                • end: 503
                • loc: {...}
                  • start: {...}
                    • line: 15
                    • column: 5
                    }
                  • end: {...}
                    • line: 20
                    • column: 11
                    }
                  }
                • id: Identifier {...}
                  • type: "Identifier"
                  • start: 305
                  • end: 319
                  • loc: {...}
                    • start: {...}
                      • line: 15
                      • column: 5
                      }
                    • end: {...}
                      • line: 15
                      • column: 19
                      }
                    }
                  • name: "filteredPeople"
                  }
                • init: CallExpression {...}
                  • type: "CallExpression"
                  • start: 322
                  • end: 503
                  • loc: {...}
                    • start: {...}
                      • line: 15
                      • column: 22
                      }
                    • end: {...}
                      • line: 20
                      • column: 11
                      }
                    }
                  • callee: Identifier {...}
                    • type: "Identifier"
                    • start: 322
                    • end: 330
                    • loc: {...}
                      • start: {...}
                        • line: 15
                        • column: 22
                        }
                      • end: {...}
                        • line: 15
                        • column: 30
                        }
                      }
                    • name: "$derived"
                    }
                  • arguments: [...] (1)
                    • ConditionalExpression {...}
                      • type: "ConditionalExpression"
                      • start: 331
                      • end: 502
                      • loc: {...}
                        • start: {...}
                          • line: 15
                          • column: 31
                          }
                        • end: {...}
                          • line: 20
                          • column: 10
                          }
                        }
                      • test: Identifier {...}
                        • type: "Identifier"
                        • start: 331
                        • end: 337
                        • loc: {...}
                          • start: {...}
                            • line: 15
                            • column: 31
                            }
                          • end: {...}
                            • line: 15
                            • column: 37
                            }
                          }
                        • name: "prefix"
                        }
                      • consequent: CallExpression {...}
                        • type: "CallExpression"
                        • start: 342
                        • end: 491
                        • loc: {...}
                          • start: {...}
                            • line: 16
                            • column: 4
                            }
                          • end: {...}
                            • line: 19
                            • column: 5
                            }
                          }
                        • callee: MemberExpression {...}
                          • type: "MemberExpression"
                          • start: 342
                          • end: 355
                          • loc: {...}
                            • start: {...}
                              • line: 16
                              • column: 4
                              }
                            • end: {...}
                              • line: 16
                              • column: 17
                              }
                            }
                          • object: Identifier {...}
                            • type: "Identifier"
                            • start: 342
                            • end: 348
                            • loc: {...}
                              • start: {...}
                                • line: 16
                                • column: 4
                                }
                              • end: {...}
                                • line: 16
                                • column: 10
                                }
                              }
                            • name: "people"
                            }
                          • property: Identifier {...}
                            • type: "Identifier"
                            • start: 349
                            • end: 355
                            • loc: {...}
                              • start: {...}
                                • line: 16
                                • column: 11
                                }
                              • end: {...}
                                • line: 16
                                • column: 17
                                }
                              }
                            • name: "filter"
                            }
                          • computed: false
                          • optional: false
                          }
                        • arguments: [...] (1)
                          • ArrowFunctionExpression {...}
                            • type: "ArrowFunctionExpression"
                            • start: 356
                            • end: 490
                            • loc: {...}
                              • start: {...}
                                • line: 16
                                • column: 18
                                }
                              • end: {...}
                                • line: 19
                                • column: 4
                                }
                              }
                            • id: null
                            • expression: false
                            • generator: false
                            • async: false
                            • params: [...] (1)
                              • Identifier {...}
                                • type: "Identifier"
                                • start: 357
                                • end: 363
                                • loc: {...}
                                  • start: {...}
                                    • line: 16
                                    • column: 19
                                    }
                                  • end: {...}
                                    • line: 16
                                    • column: 25
                                    }
                                  }
                                • name: "person"
                                }
                              ]
                            • body: BlockStatement {...}
                              • type: "BlockStatement"
                              • start: 368
                              • end: 490
                              • loc: {...}
                                • start: {...}
                                  • line: 16
                                  • column: 30
                                  }
                                • end: {...}
                                  • line: 19
                                  • column: 4
                                  }
                                }
                              • body: [...] (2)
                                • VariableDeclaration {...}
                                  • type: "VariableDeclaration"
                                  • start: 374
                                  • end: 421
                                  • loc: {...}
                                    • start: {...}
                                      • line: 17
                                      • column: 4
                                      }
                                    • end: {...}
                                      • line: 17
                                      • column: 51
                                      }
                                    }
                                  • declarations: [...] (1)
                                    • VariableDeclarator {...}
                                      • type: "VariableDeclarator"
                                      • start: 380
                                      • end: 420
                                      • loc: {...}
                                        • start: {...}
                                          • line: 17
                                          • column: 10
                                          }
                                        • end: {...}
                                          • line: 17
                                          • column: 50
                                          }
                                        }
                                      • id: Identifier {...}
                                        • type: "Identifier"
                                        • start: 380
                                        • end: 384
                                        • loc: {...}
                                          • start: {...}
                                            • line: 17
                                            • column: 10
                                            }
                                          • end: {...}
                                            • line: 17
                                            • column: 14
                                            }
                                          }
                                        • name: "name"
                                        }
                                      • init: TemplateLiteral {...}
                                        • type: "TemplateLiteral"
                                        • start: 387
                                        • end: 420
                                        • loc: {...}
                                          • start: {...}
                                            • line: 17
                                            • column: 17
                                            }
                                          • end: {...}
                                            • line: 17
                                            • column: 50
                                            }
                                          }
                                        • expressions: [...] (2)
                                          • MemberExpression {...}
                                            • type: "MemberExpression"
                                            • start: 390
                                            • end: 401
                                            • loc: {...}
                                              • start: {...}
                                                • line: 17
                                                • column: 20
                                                }
                                              • end: {...}
                                                • line: 17
                                                • column: 31
                                                }
                                              }
                                            • object: Identifier {...}
                                              • type: "Identifier"
                                              • start: 390
                                              • end: 396
                                              • loc: {...}
                                                • start: {...}
                                                  • line: 17
                                                  • column: 20
                                                  }
                                                • end: {...}
                                                  • line: 17
                                                  • column: 26
                                                  }
                                                }
                                              • name: "person"
                                              }
                                            • property: Identifier {...}
                                              • type: "Identifier"
                                              • start: 397
                                              • end: 401
                                              • loc: {...}
                                                • start: {...}
                                                  • line: 17
                                                  • column: 27
                                                  }
                                                • end: {...}
                                                  • line: 17
                                                  • column: 31
                                                  }
                                                }
                                              • name: "last"
                                              }
                                            • computed: false
                                            • optional: false
                                            }
                                          • MemberExpression {...}
                                            • type: "MemberExpression"
                                            • start: 406
                                            • end: 418
                                            • loc: {...}
                                              • start: {...}
                                                • line: 17
                                                • column: 36
                                                }
                                              • end: {...}
                                                • line: 17
                                                • column: 48
                                                }
                                              }
                                            • object: Identifier {...}
                                              • type: "Identifier"
                                              • start: 406
                                              • end: 412
                                              • loc: {...}
                                                • start: {...}
                                                  • line: 17
                                                  • column: 36
                                                  }
                                                • end: {...}
                                                  • line: 17
                                                  • column: 42
                                                  }
                                                }
                                              • name: "person"
                                              }
                                            • property: Identifier {...}
                                              • type: "Identifier"
                                              • start: 413
                                              • end: 418
                                              • loc: {...}
                                                • start: {...}
                                                  • line: 17
                                                  • column: 43
                                                  }
                                                • end: {...}
                                                  • line: 17
                                                  • column: 48
                                                  }
                                                }
                                              • name: "first"
                                              }
                                            • computed: false
                                            • optional: false
                                            }
                                          ]
                                        • quasis: [...] (3)
                                          • TemplateElement {...}
                                            • type: "TemplateElement"
                                            • start: 388
                                            • end: 388
                                            • loc: {...}
                                              • start: {...}
                                                • line: 17
                                                • column: 18
                                                }
                                              • end: {...}
                                                • line: 17
                                                • column: 18
                                                }
                                              }
                                            • value: {...}
                                              • raw: ""
                                              • cooked: ""
                                              }
                                            • tail: false
                                            }
                                          • TemplateElement {...}
                                            • type: "TemplateElement"
                                            • start: 402
                                            • end: 404
                                            • loc: {...}
                                              • start: {...}
                                                • line: 17
                                                • column: 32
                                                }
                                              • end: {...}
                                                • line: 17
                                                • column: 34
                                                }
                                              }
                                            • value: {...}
                                              • raw: ", "
                                              • cooked: ", "
                                              }
                                            • tail: false
                                            }
                                          • TemplateElement {...}
                                            • type: "TemplateElement"
                                            • start: 419
                                            • end: 419
                                            • loc: {...}
                                              • start: {...}
                                                • line: 17
                                                • column: 49
                                                }
                                              • end: {...}
                                                • line: 17
                                                • column: 49
                                                }
                                              }
                                            • value: {...}
                                              • raw: ""
                                              • cooked: ""
                                              }
                                            • tail: true
                                            }
                                          ]
                                        }
                                      }
                                    ]
                                  • kind: "const"
                                  }
                                • ReturnStatement {...}
                                  • type: "ReturnStatement"
                                  • start: 426
                                  • end: 485
                                  • loc: {...}
                                    • start: {...}
                                      • line: 18
                                      • column: 4
                                      }
                                    • end: {...}
                                      • line: 18
                                      • column: 63
                                      }
                                    }
                                  • argument: CallExpression {...}
                                    • type: "CallExpression"
                                    • start: 433
                                    • end: 484
                                    • loc: {...}
                                      • start: {...}
                                        • line: 18
                                        • column: 11
                                        }
                                      • end: {...}
                                        • line: 18
                                        • column: 62
                                        }
                                      }
                                    • callee: MemberExpression {...}
                                      • type: "MemberExpression"
                                      • start: 433
                                      • end: 462
                                      • loc: {...}
                                        • start: {...}
                                          • line: 18
                                          • column: 11
                                          }
                                        • end: {...}
                                          • line: 18
                                          • column: 40
                                          }
                                        }
                                      • object: CallExpression {...}
                                        • type: "CallExpression"
                                        • start: 433
                                        • end: 451
                                        • loc: {...}
                                          • start: {...}
                                            • line: 18
                                            • column: 11
                                            }
                                          • end: {...}
                                            • line: 18
                                            • column: 29
                                            }
                                          }
                                        • callee: MemberExpression {...}
                                          • type: "MemberExpression"
                                          • start: 433
                                          • end: 449
                                          • loc: {...}
                                            • start: {...}
                                              • line: 18
                                              • column: 11
                                              }
                                            • end: {...}
                                              • line: 18
                                              • column: 27
                                              }
                                            }
                                          • object: Identifier {...}
                                            • type: "Identifier"
                                            • start: 433
                                            • end: 437
                                            • loc: {...}
                                              • start: {...}
                                                • line: 18
                                                • column: 11
                                                }
                                              • end: {...}
                                                • line: 18
                                                • column: 15
                                                }
                                              }
                                            • name: "name"
                                            }
                                          • property: Identifier {...}
                                            • type: "Identifier"
                                            • start: 438
                                            • end: 449
                                            • loc: {...}
                                              • start: {...}
                                                • line: 18
                                                • column: 16
                                                }
                                              • end: {...}
                                                • line: 18
                                                • column: 27
                                                }
                                              }
                                            • name: "toLowerCase"
                                            }
                                          • computed: false
                                          • optional: false
                                          }
                                        • arguments: []
                                        • optional: false
                                        }
                                      • property: Identifier {...}
                                        • type: "Identifier"
                                        • start: 452
                                        • end: 462
                                        • loc: {...}
                                          • start: {...}
                                            • line: 18
                                            • column: 30
                                            }
                                          • end: {...}
                                            • line: 18
                                            • column: 40
                                            }
                                          }
                                        • name: "startsWith"
                                        }
                                      • computed: false
                                      • optional: false
                                      }
                                    • arguments: [...] (1)
                                      • CallExpression {...}
                                        • type: "CallExpression"
                                        • start: 463
                                        • end: 483
                                        • loc: {...}
                                          • start: {...}
                                            • line: 18
                                            • column: 41
                                            }
                                          • end: {...}
                                            • line: 18
                                            • column: 61
                                            }
                                          }
                                        • callee: MemberExpression {...}
                                          • type: "MemberExpression"
                                          • start: 463
                                          • end: 481
                                          • loc: {...}
                                            • start: {...}
                                              • line: 18
                                              • column: 41
                                              }
                                            • end: {...}
                                              • line: 18
                                              • column: 59
                                              }
                                            }
                                          • object: Identifier {...}
                                            • type: "Identifier"
                                            • start: 463
                                            • end: 469
                                            • loc: {...}
                                              • start: {...}
                                                • line: 18
                                                • column: 41
                                                }
                                              • end: {...}
                                                • line: 18
                                                • column: 47
                                                }
                                              }
                                            • name: "prefix"
                                            }
                                          • property: Identifier {...}
                                            • type: "Identifier"
                                            • start: 470
                                            • end: 481
                                            • loc: {...}
                                              • start: {...}
                                                • line: 18
                                                • column: 48
                                                }
                                              • end: {...}
                                                • line: 18
                                                • column: 59
                                                }
                                              }
                                            • name: "toLowerCase"
                                            }
                                          • computed: false
                                          • optional: false
                                          }
                                        • arguments: []
                                        • optional: false
                                        }
                                      ]
                                    • optional: false
                                    }
                                  }
                                ]
                              }
                            }
                          ]
                        • optional: false
                        }
                      • alternate: Identifier {...}
                        • type: "Identifier"
                        • start: 496
                        • end: 502
                        • loc: {...}
                          • start: {...}
                            • line: 20
                            • column: 4
                            }
                          • end: {...}
                            • line: 20
                            • column: 10
                            }
                          }
                        • name: "people"
                        }
                      }
                    ]
                  • optional: false
                  }
                }
              ]
            • kind: "let"
            }
          • VariableDeclaration {...}
            • type: "VariableDeclaration"
            • start: 506
            • end: 549
            • loc: {...}
              • start: {...}
                • line: 21
                • column: 1
                }
              • end: {...}
                • line: 21
                • column: 44
                }
              }
            • declarations: [...] (1)
              • VariableDeclarator {...}
                • type: "VariableDeclarator"
                • start: 510
                • end: 548
                • loc: {...}
                  • start: {...}
                    • line: 21
                    • column: 5
                    }
                  • end: {...}
                    • line: 21
                    • column: 43
                    }
                  }
                • id: Identifier {...}
                  • type: "Identifier"
                  • start: 510
                  • end: 518
                  • loc: {...}
                    • start: {...}
                      • line: 21
                      • column: 5
                      }
                    • end: {...}
                      • line: 21
                      • column: 13
                      }
                    }
                  • name: "selected"
                  }
                • init: CallExpression {...}
                  • type: "CallExpression"
                  • start: 521
                  • end: 548
                  • loc: {...}
                    • start: {...}
                      • line: 21
                      • column: 16
                      }
                    • end: {...}
                      • line: 21
                      • column: 43
                      }
                    }
                  • callee: Identifier {...}
                    • type: "Identifier"
                    • start: 521
                    • end: 529
                    • loc: {...}
                      • start: {...}
                        • line: 21
                        • column: 16
                        }
                      • end: {...}
                        • line: 21
                        • column: 24
                        }
                      }
                    • name: "$derived"
                    }
                  • arguments: [...] (1)
                    • MemberExpression {...}
                      • type: "MemberExpression"
                      • start: 530
                      • end: 547
                      • loc: {...}
                        • start: {...}
                          • line: 21
                          • column: 25
                          }
                        • end: {...}
                          • line: 21
                          • column: 42
                          }
                        }
                      • object: Identifier {...}
                        • type: "Identifier"
                        • start: 530
                        • end: 544
                        • loc: {...}
                          • start: {...}
                            • line: 21
                            • column: 25
                            }
                          • end: {...}
                            • line: 21
                            • column: 39
                            }
                          }
                        • name: "filteredPeople"
                        }
                      • property: Identifier {...}
                        • type: "Identifier"
                        • start: 545
                        • end: 546
                        • loc: {...}
                          • start: {...}
                            • line: 21
                            • column: 40
                            }
                          • end: {...}
                            • line: 21
                            • column: 41
                            }
                          }
                        • name: "i"
                        }
                      • computed: true
                      • optional: false
                      }
                    ]
                  • optional: false
                  }
                }
              ]
            • kind: "let"
            }
          • ExpressionStatement {...}
            • type: "ExpressionStatement"
            • start: 552
            • end: 598
            • loc: {...}
              • start: {...}
                • line: 23
                • column: 1
                }
              • end: {...}
                • line: 25
                • column: 4
                }
              }
            • expression: CallExpression {...}
              • type: "CallExpression"
              • start: 552
              • end: 597
              • loc: {...}
                • start: {...}
                  • line: 23
                  • column: 1
                  }
                • end: {...}
                  • line: 25
                  • column: 3
                  }
                }
              • callee: Identifier {...}
                • type: "Identifier"
                • start: 552
                • end: 559
                • loc: {...}
                  • start: {...}
                    • line: 23
                    • column: 1
                    }
                  • end: {...}
                    • line: 23
                    • column: 8
                    }
                  }
                • name: "$effect"
                }
              • arguments: [...] (1)
                • ArrowFunctionExpression {...}
                  • type: "ArrowFunctionExpression"
                  • start: 560
                  • end: 596
                  • loc: {...}
                    • start: {...}
                      • line: 23
                      • column: 9
                      }
                    • end: {...}
                      • line: 25
                      • column: 2
                      }
                    }
                  • id: null
                  • expression: false
                  • generator: false
                  • async: false
                  • params: []
                  • body: BlockStatement {...}
                    • type: "BlockStatement"
                    • start: 566
                    • end: 596
                    • loc: {...}
                      • start: {...}
                        • line: 23
                        • column: 15
                        }
                      • end: {...}
                        • line: 25
                        • column: 2
                        }
                      }
                    • body: [...] (1)
                      • ExpressionStatement {...}
                        • type: "ExpressionStatement"
                        • start: 570
                        • end: 593
                        • loc: {...}
                          • start: {...}
                            • line: 24
                            • column: 2
                            }
                          • end: {...}
                            • line: 24
                            • column: 25
                            }
                          }
                        • expression: CallExpression {...}
                          • type: "CallExpression"
                          • start: 570
                          • end: 592
                          • loc: {...}
                            • start: {...}
                              • line: 24
                              • column: 2
                              }
                            • end: {...}
                              • line: 24
                              • column: 24
                              }
                            }
                          • callee: Identifier {...}
                            • type: "Identifier"
                            • start: 570
                            • end: 582
                            • loc: {...}
                              • start: {...}
                                • line: 24
                                • column: 2
                                }
                              • end: {...}
                                • line: 24
                                • column: 14
                                }
                              }
                            • name: "reset_inputs"
                            }
                          • arguments: [...] (1)
                            • Identifier {...}
                              • type: "Identifier"
                              • start: 583
                              • end: 591
                              • loc: {...}
                                • start: {...}
                                  • line: 24
                                  • column: 15
                                  }
                                • end: {...}
                                  • line: 24
                                  • column: 23
                                  }
                                }
                              • name: "selected"
                              }
                            ]
                          • optional: false
                          }
                        }
                      ]
                    }
                  }
                ]
              • optional: false
              }
            }
          • FunctionDeclaration {...}
            • type: "FunctionDeclaration"
            • start: 601
            • end: 712
            • loc: {...}
              • start: {...}
                • line: 27
                • column: 1
                }
              • end: {...}
                • line: 31
                • column: 2
                }
              }
            • id: Identifier {...}
              • type: "Identifier"
              • start: 610
              • end: 616
              • loc: {...}
                • start: {...}
                  • line: 27
                  • column: 10
                  }
                • end: {...}
                  • line: 27
                  • column: 16
                  }
                }
              • name: "create"
              }
            • expression: false
            • generator: false
            • async: false
            • params: []
            • body: BlockStatement {...}
              • type: "BlockStatement"
              • start: 619
              • end: 712
              • loc: {...}
                • start: {...}
                  • line: 27
                  • column: 19
                  }
                • end: {...}
                  • line: 31
                  • column: 2
                  }
                }
              • body: [...] (3)
                • ExpressionStatement {...}
                  • type: "ExpressionStatement"
                  • start: 623
                  • end: 663
                  • loc: {...}
                    • start: {...}
                      • line: 28
                      • column: 2
                      }
                    • end: {...}
                      • line: 28
                      • column: 42
                      }
                    }
                  • expression: AssignmentExpression {...}
                    • type: "AssignmentExpression"
                    • start: 623
                    • end: 662
                    • loc: {...}
                      • start: {...}
                        • line: 28
                        • column: 2
                        }
                      • end: {...}
                        • line: 28
                        • column: 41
                        }
                      }
                    • operator: "="
                    • left: Identifier {...}
                      • type: "Identifier"
                      • start: 623
                      • end: 629
                      • loc: {...}
                        • start: {...}
                          • line: 28
                          • column: 2
                          }
                        • end: {...}
                          • line: 28
                          • column: 8
                          }
                        }
                      • name: "people"
                      }
                    • right: CallExpression {...}
                      • type: "CallExpression"
                      • start: 632
                      • end: 662
                      • loc: {...}
                        • start: {...}
                          • line: 28
                          • column: 11
                          }
                        • end: {...}
                          • line: 28
                          • column: 41
                          }
                        }
                      • callee: MemberExpression {...}
                        • type: "MemberExpression"
                        • start: 632
                        • end: 645
                        • loc: {...}
                          • start: {...}
                            • line: 28
                            • column: 11
                            }
                          • end: {...}
                            • line: 28
                            • column: 24
                            }
                          }
                        • object: Identifier {...}
                          • type: "Identifier"
                          • start: 632
                          • end: 638
                          • loc: {...}
                            • start: {...}
                              • line: 28
                              • column: 11
                              }
                            • end: {...}
                              • line: 28
                              • column: 17
                              }
                            }
                          • name: "people"
                          }
                        • property: Identifier {...}
                          • type: "Identifier"
                          • start: 639
                          • end: 645
                          • loc: {...}
                            • start: {...}
                              • line: 28
                              • column: 18
                              }
                            • end: {...}
                              • line: 28
                              • column: 24
                              }
                            }
                          • name: "concat"
                          }
                        • computed: false
                        • optional: false
                        }
                      • arguments: [...] (1)
                        • ObjectExpression {...}
                          • type: "ObjectExpression"
                          • start: 646
                          • end: 661
                          • loc: {...}
                            • start: {...}
                              • line: 28
                              • column: 25
                              }
                            • end: {...}
                              • line: 28
                              • column: 40
                              }
                            }
                          • properties: [...] (2)
                            • Property {...}
                              • type: "Property"
                              • start: 648
                              • end: 653
                              • loc: {...}
                                • start: {...}
                                  • line: 28
                                  • column: 27
                                  }
                                • end: {...}
                                  • line: 28
                                  • column: 32
                                  }
                                }
                              • method: false
                              • shorthand: true
                              • computed: false
                              • key: Identifier {...}
                                • type: "Identifier"
                                • start: 648
                                • end: 653
                                • loc: {...}
                                  • start: {...}
                                    • line: 28
                                    • column: 27
                                    }
                                  • end: {...}
                                    • line: 28
                                    • column: 32
                                    }
                                  }
                                • name: "first"
                                }
                              • kind: "init"
                              • value: Identifier {...}
                                • type: "Identifier"
                                • start: 648
                                • end: 653
                                • loc: {...}
                                  • start: {...}
                                    • line: 28
                                    • column: 27
                                    }
                                  • end: {...}
                                    • line: 28
                                    • column: 32
                                    }
                                  }
                                • name: "first"
                                }
                              }
                            • Property {...}
                              • type: "Property"
                              • start: 655
                              • end: 659
                              • loc: {...}
                                • start: {...}
                                  • line: 28
                                  • column: 34
                                  }
                                • end: {...}
                                  • line: 28
                                  • column: 38
                                  }
                                }
                              • method: false
                              • shorthand: true
                              • computed: false
                              • key: Identifier {...}
                                • type: "Identifier"
                                • start: 655
                                • end: 659
                                • loc: {...}
                                  • start: {...}
                                    • line: 28
                                    • column: 34
                                    }
                                  • end: {...}
                                    • line: 28
                                    • column: 38
                                    }
                                  }
                                • name: "last"
                                }
                              • kind: "init"
                              • value: Identifier {...}
                                • type: "Identifier"
                                • start: 655
                                • end: 659
                                • loc: {...}
                                  • start: {...}
                                    • line: 28
                                    • column: 34
                                    }
                                  • end: {...}
                                    • line: 28
                                    • column: 38
                                    }
                                  }
                                • name: "last"
                                }
                              }
                            ]
                          }
                        ]
                      • optional: false
                      }
                    }
                  }
                • ExpressionStatement {...}
                  • type: "ExpressionStatement"
                  • start: 666
                  • end: 688
                  • loc: {...}
                    • start: {...}
                      • line: 29
                      • column: 2
                      }
                    • end: {...}
                      • line: 29
                      • column: 24
                      }
                    }
                  • expression: AssignmentExpression {...}
                    • type: "AssignmentExpression"
                    • start: 666
                    • end: 687
                    • loc: {...}
                      • start: {...}
                        • line: 29
                        • column: 2
                        }
                      • end: {...}
                        • line: 29
                        • column: 23
                        }
                      }
                    • operator: "="
                    • left: Identifier {...}
                      • type: "Identifier"
                      • start: 666
                      • end: 667
                      • loc: {...}
                        • start: {...}
                          • line: 29
                          • column: 2
                          }
                        • end: {...}
                          • line: 29
                          • column: 3
                          }
                        }
                      • name: "i"
                      }
                    • right: BinaryExpression {...}
                      • type: "BinaryExpression"
                      • start: 670
                      • end: 687
                      • loc: {...}
                        • start: {...}
                          • line: 29
                          • column: 6
                          }
                        • end: {...}
                          • line: 29
                          • column: 23
                          }
                        }
                      • left: MemberExpression {...}
                        • type: "MemberExpression"
                        • start: 670
                        • end: 683
                        • loc: {...}
                          • start: {...}
                            • line: 29
                            • column: 6
                            }
                          • end: {...}
                            • line: 29
                            • column: 19
                            }
                          }
                        • object: Identifier {...}
                          • type: "Identifier"
                          • start: 670
                          • end: 676
                          • loc: {...}
                            • start: {...}
                              • line: 29
                              • column: 6
                              }
                            • end: {...}
                              • line: 29
                              • column: 12
                              }
                            }
                          • name: "people"
                          }
                        • property: Identifier {...}
                          • type: "Identifier"
                          • start: 677
                          • end: 683
                          • loc: {...}
                            • start: {...}
                              • line: 29
                              • column: 13
                              }
                            • end: {...}
                              • line: 29
                              • column: 19
                              }
                            }
                          • name: "length"
                          }
                        • computed: false
                        • optional: false
                        }
                      • operator: "-"
                      • right: Literal {...}
                        • type: "Literal"
                        • start: 686
                        • end: 687
                        • loc: {...}
                          • start: {...}
                            • line: 29
                            • column: 22
                            }
                          • end: {...}
                            • line: 29
                            • column: 23
                            }
                          }
                        • value: 1
                        • raw: "1"
                        }
                      }
                    }
                  }
                • ExpressionStatement {...}
                  • type: "ExpressionStatement"
                  • start: 691
                  • end: 709
                  • loc: {...}
                    • start: {...}
                      • line: 30
                      • column: 2
                      }
                    • end: {...}
                      • line: 30
                      • column: 20
                      }
                    }
                  • expression: AssignmentExpression {...}
                    • type: "AssignmentExpression"
                    • start: 691
                    • end: 708
                    • loc: {...}
                      • start: {...}
                        • line: 30
                        • column: 2
                        }
                      • end: {...}
                        • line: 30
                        • column: 19
                        }
                      }
                    • operator: "="
                    • left: Identifier {...}
                      • type: "Identifier"
                      • start: 691
                      • end: 696
                      • loc: {...}
                        • start: {...}
                          • line: 30
                          • column: 2
                          }
                        • end: {...}
                          • line: 30
                          • column: 7
                          }
                        }
                      • name: "first"
                      }
                    • right: AssignmentExpression {...}
                      • type: "AssignmentExpression"
                      • start: 699
                      • end: 708
                      • loc: {...}
                        • start: {...}
                          • line: 30
                          • column: 10
                          }
                        • end: {...}
                          • line: 30
                          • column: 19
                          }
                        }
                      • operator: "="
                      • left: Identifier {...}
                        • type: "Identifier"
                        • start: 699
                        • end: 703
                        • loc: {...}
                          • start: {...}
                            • line: 30
                            • column: 10
                            }
                          • end: {...}
                            • line: 30
                            • column: 14
                            }
                          }
                        • name: "last"
                        }
                      • right: Literal {...}
                        • type: "Literal"
                        • start: 706
                        • end: 708
                        • loc: {...}
                          • start: {...}
                            • line: 30
                            • column: 17
                            }
                          • end: {...}
                            • line: 30
                            • column: 19
                            }
                          }
                        • value: ""
                        • raw: "''"
                        }
                      }
                    }
                  }
                ]
              }
            }
          • FunctionDeclaration {...}
            • type: "FunctionDeclaration"
            • start: 715
            • end: 806
            • loc: {...}
              • start: {...}
                • line: 33
                • column: 1
                }
              • end: {...}
                • line: 37
                • column: 2
                }
              }
            • id: Identifier {...}
              • type: "Identifier"
              • start: 724
              • end: 730
              • loc: {...}
                • start: {...}
                  • line: 33
                  • column: 10
                  }
                • end: {...}
                  • line: 33
                  • column: 16
                  }
                }
              • name: "update"
              }
            • expression: false
            • generator: false
            • async: false
            • params: []
            • body: BlockStatement {...}
              • type: "BlockStatement"
              • start: 733
              • end: 806
              • loc: {...}
                • start: {...}
                  • line: 33
                  • column: 19
                  }
                • end: {...}
                  • line: 37
                  • column: 2
                  }
                }
              • body: [...] (3)
                • ExpressionStatement {...}
                  • type: "ExpressionStatement"
                  • start: 737
                  • end: 760
                  • loc: {...}
                    • start: {...}
                      • line: 34
                      • column: 2
                      }
                    • end: {...}
                      • line: 34
                      • column: 25
                      }
                    }
                  • expression: AssignmentExpression {...}
                    • type: "AssignmentExpression"
                    • start: 737
                    • end: 759
                    • loc: {...}
                      • start: {...}
                        • line: 34
                        • column: 2
                        }
                      • end: {...}
                        • line: 34
                        • column: 24
                        }
                      }
                    • operator: "="
                    • left: MemberExpression {...}
                      • type: "MemberExpression"
                      • start: 737
                      • end: 751
                      • loc: {...}
                        • start: {...}
                          • line: 34
                          • column: 2
                          }
                        • end: {...}
                          • line: 34
                          • column: 16
                          }
                        }
                      • object: Identifier {...}
                        • type: "Identifier"
                        • start: 737
                        • end: 745
                        • loc: {...}
                          • start: {...}
                            • line: 34
                            • column: 2
                            }
                          • end: {...}
                            • line: 34
                            • column: 10
                            }
                          }
                        • name: "selected"
                        }
                      • property: Identifier {...}
                        • type: "Identifier"
                        • start: 746
                        • end: 751
                        • loc: {...}
                          • start: {...}
                            • line: 34
                            • column: 11
                            }
                          • end: {...}
                            • line: 34
                            • column: 16
                            }
                          }
                        • name: "first"
                        }
                      • computed: false
                      • optional: false
                      }
                    • right: Identifier {...}
                      • type: "Identifier"
                      • start: 754
                      • end: 759
                      • loc: {...}
                        • start: {...}
                          • line: 34
                          • column: 19
                          }
                        • end: {...}
                          • line: 34
                          • column: 24
                          }
                        }
                      • name: "first"
                      }
                    }
                  }
                • ExpressionStatement {...}
                  • type: "ExpressionStatement"
                  • start: 763
                  • end: 784
                  • loc: {...}
                    • start: {...}
                      • line: 35
                      • column: 2
                      }
                    • end: {...}
                      • line: 35
                      • column: 23
                      }
                    }
                  • expression: AssignmentExpression {...}
                    • type: "AssignmentExpression"
                    • start: 763
                    • end: 783
                    • loc: {...}
                      • start: {...}
                        • line: 35
                        • column: 2
                        }
                      • end: {...}
                        • line: 35
                        • column: 22
                        }
                      }
                    • operator: "="
                    • left: MemberExpression {...}
                      • type: "MemberExpression"
                      • start: 763
                      • end: 776
                      • loc: {...}
                        • start: {...}
                          • line: 35
                          • column: 2
                          }
                        • end: {...}
                          • line: 35
                          • column: 15
                          }
                        }
                      • object: Identifier {...}
                        • type: "Identifier"
                        • start: 763
                        • end: 771
                        • loc: {...}
                          • start: {...}
                            • line: 35
                            • column: 2
                            }
                          • end: {...}
                            • line: 35
                            • column: 10
                            }
                          }
                        • name: "selected"
                        }
                      • property: Identifier {...}
                        • type: "Identifier"
                        • start: 772
                        • end: 776
                        • loc: {...}
                          • start: {...}
                            • line: 35
                            • column: 11
                            }
                          • end: {...}
                            • line: 35
                            • column: 15
                            }
                          }
                        • name: "last"
                        }
                      • computed: false
                      • optional: false
                      }
                    • right: Identifier {...}
                      • type: "Identifier"
                      • start: 779
                      • end: 783
                      • loc: {...}
                        • start: {...}
                          • line: 35
                          • column: 18
                          }
                        • end: {...}
                          • line: 35
                          • column: 22
                          }
                        }
                      • name: "last"
                      }
                    }
                  }
                • ExpressionStatement {...}
                  • type: "ExpressionStatement"
                  • start: 787
                  • end: 803
                  • loc: {...}
                    • start: {...}
                      • line: 36
                      • column: 2
                      }
                    • end: {...}
                      • line: 36
                      • column: 18
                      }
                    }
                  • expression: AssignmentExpression {...}
                    • type: "AssignmentExpression"
                    • start: 787
                    • end: 802
                    • loc: {...}
                      • start: {...}
                        • line: 36
                        • column: 2
                        }
                      • end: {...}
                        • line: 36
                        • column: 17
                        }
                      }
                    • operator: "="
                    • left: Identifier {...}
                      • type: "Identifier"
                      • start: 787
                      • end: 793
                      • loc: {...}
                        • start: {...}
                          • line: 36
                          • column: 2
                          }
                        • end: {...}
                          • line: 36
                          • column: 8
                          }
                        }
                      • name: "people"
                      }
                    • right: Identifier {...}
                      • type: "Identifier"
                      • start: 796
                      • end: 802
                      • loc: {...}
                        • start: {...}
                          • line: 36
                          • column: 11
                          }
                        • end: {...}
                          • line: 36
                          • column: 17
                          }
                        }
                      • name: "people"
                      }
                    }
                  }
                ]
              }
            }
          • FunctionDeclaration {...}
            • type: "FunctionDeclaration"
            • start: 809
            • end: 1092
            • loc: {...}
              • start: {...}
                • line: 39
                • column: 1
                }
              • end: {...}
                • line: 46
                • column: 2
                }
              }
            • id: Identifier {...}
              • type: "Identifier"
              • start: 818
              • end: 824
              • loc: {...}
                • start: {...}
                  • line: 39
                  • column: 10
                  }
                • end: {...}
                  • line: 39
                  • column: 16
                  }
                }
              • name: "remove"
              }
            • expression: false
            • generator: false
            • async: false
            • params: []
            • body: BlockStatement {...}
              • type: "BlockStatement"
              • start: 827
              • end: 1092
              • loc: {...}
                • start: {...}
                  • line: 39
                  • column: 19
                  }
                • end: {...}
                  • line: 46
                  • column: 2
                  }
                }
              • body: [...] (4)
                • VariableDeclaration {...}
                  • type: "VariableDeclaration"
                  • start: 914
                  • end: 953
                  • loc: {...}
                    • start: {...}
                      • line: 41
                      • column: 2
                      }
                    • end: {...}
                      • line: 41
                      • column: 41
                      }
                    }
                  • declarations: [...] (1)
                    • VariableDeclarator {...}
                      • type: "VariableDeclarator"
                      • start: 920
                      • end: 952
                      • loc: {...}
                        • start: {...}
                          • line: 41
                          • column: 8
                          }
                        • end: {...}
                          • line: 41
                          • column: 40
                          }
                        }
                      • id: Identifier {...}
                        • type: "Identifier"
                        • start: 920
                        • end: 925
                        • loc: {...}
                          • start: {...}
                            • line: 41
                            • column: 8
                            }
                          • end: {...}
                            • line: 41
                            • column: 13
                            }
                          }
                        • name: "index"
                        }
                      • init: CallExpression {...}
                        • type: "CallExpression"
                        • start: 928
                        • end: 952
                        • loc: {...}
                          • start: {...}
                            • line: 41
                            • column: 16
                            }
                          • end: {...}
                            • line: 41
                            • column: 40
                            }
                          }
                        • callee: MemberExpression {...}
                          • type: "MemberExpression"
                          • start: 928
                          • end: 942
                          • loc: {...}
                            • start: {...}
                              • line: 41
                              • column: 16
                              }
                            • end: {...}
                              • line: 41
                              • column: 30
                              }
                            }
                          • object: Identifier {...}
                            • type: "Identifier"
                            • start: 928
                            • end: 934
                            • loc: {...}
                              • start: {...}
                                • line: 41
                                • column: 16
                                }
                              • end: {...}
                                • line: 41
                                • column: 22
                                }
                              }
                            • name: "people"
                            }
                          • property: Identifier {...}
                            • type: "Identifier"
                            • start: 935
                            • end: 942
                            • loc: {...}
                              • start: {...}
                                • line: 41
                                • column: 23
                                }
                              • end: {...}
                                • line: 41
                                • column: 30
                                }
                              }
                            • name: "indexOf"
                            }
                          • computed: false
                          • optional: false
                          }
                        • arguments: [...] (1)
                          • Identifier {...}
                            • type: "Identifier"
                            • start: 943
                            • end: 951
                            • loc: {...}
                              • start: {...}
                                • line: 41
                                • column: 31
                                }
                              • end: {...}
                                • line: 41
                                • column: 39
                                }
                              }
                            • name: "selected"
                            }
                          ]
                        • optional: false
                        }
                      }
                    ]
                  • kind: "const"
                  • leadingComments: [...] (1)
                    • Line {...}
                      • type: "Line"
                      • value: " Remove selected person from the source array (people), not the filtered array"
                      • start: 831
                      • end: 911
                      }
                    ]
                  }
                • ExpressionStatement {...}
                  • type: "ExpressionStatement"
                  • start: 956
                  • end: 1021
                  • loc: {...}
                    • start: {...}
                      • line: 42
                      • column: 2
                      }
                    • end: {...}
                      • line: 42
                      • column: 67
                      }
                    }
                  • expression: AssignmentExpression {...}
                    • type: "AssignmentExpression"
                    • start: 956
                    • end: 1020
                    • loc: {...}
                      • start: {...}
                        • line: 42
                        • column: 2
                        }
                      • end: {...}
                        • line: 42
                        • column: 66
                        }
                      }
                    • operator: "="
                    • left: Identifier {...}
                      • type: "Identifier"
                      • start: 956
                      • end: 962
                      • loc: {...}
                        • start: {...}
                          • line: 42
                          • column: 2
                          }
                        • end: {...}
                          • line: 42
                          • column: 8
                          }
                        }
                      • name: "people"
                      }
                    • right: ArrayExpression {...}
                      • type: "ArrayExpression"
                      • start: 965
                      • end: 1020
                      • loc: {...}
                        • start: {...}
                          • line: 42
                          • column: 11
                          }
                        • end: {...}
                          • line: 42
                          • column: 66
                          }
                        }
                      • elements: [...] (2)
                        • SpreadElement {...}
                          • type: "SpreadElement"
                          • start: 966
                          • end: 991
                          • loc: {...}
                            • start: {...}
                              • line: 42
                              • column: 12
                              }
                            • end: {...}
                              • line: 42
                              • column: 37
                              }
                            }
                          • argument: CallExpression {...}
                            • type: "CallExpression"
                            • start: 969
                            • end: 991
                            • loc: {...}
                              • start: {...}
                                • line: 42
                                • column: 15
                                }
                              • end: {...}
                                • line: 42
                                • column: 37
                                }
                              }
                            • callee: MemberExpression {...}
                              • type: "MemberExpression"
                              • start: 969
                              • end: 981
                              • loc: {...}
                                • start: {...}
                                  • line: 42
                                  • column: 15
                                  }
                                • end: {...}
                                  • line: 42
                                  • column: 27
                                  }
                                }
                              • object: Identifier {...}
                                • type: "Identifier"
                                • start: 969
                                • end: 975
                                • loc: {...}
                                  • start: {...}
                                    • line: 42
                                    • column: 15
                                    }
                                  • end: {...}
                                    • line: 42
                                    • column: 21
                                    }
                                  }
                                • name: "people"
                                }
                              • property: Identifier {...}
                                • type: "Identifier"
                                • start: 976
                                • end: 981
                                • loc: {...}
                                  • start: {...}
                                    • line: 42
                                    • column: 22
                                    }
                                  • end: {...}
                                    • line: 42
                                    • column: 27
                                    }
                                  }
                                • name: "slice"
                                }
                              • computed: false
                              • optional: false
                              }
                            • arguments: [...] (2)
                              • Literal {...}
                                • type: "Literal"
                                • start: 982
                                • end: 983
                                • loc: {...}
                                  • start: {...}
                                    • line: 42
                                    • column: 28
                                    }
                                  • end: {...}
                                    • line: 42
                                    • column: 29
                                    }
                                  }
                                • value: 0
                                • raw: "0"
                                }
                              • Identifier {...}
                                • type: "Identifier"
                                • start: 985
                                • end: 990
                                • loc: {...}
                                  • start: {...}
                                    • line: 42
                                    • column: 31
                                    }
                                  • end: {...}
                                    • line: 42
                                    • column: 36
                                    }
                                  }
                                • name: "index"
                                }
                              ]
                            • optional: false
                            }
                          }
                        • SpreadElement {...}
                          • type: "SpreadElement"
                          • start: 993
                          • end: 1019
                          • loc: {...}
                            • start: {...}
                              • line: 42
                              • column: 39
                              }
                            • end: {...}
                              • line: 42
                              • column: 65
                              }
                            }
                          • argument: CallExpression {...}
                            • type: "CallExpression"
                            • start: 996
                            • end: 1019
                            • loc: {...}
                              • start: {...}
                                • line: 42
                                • column: 42
                                }
                              • end: {...}
                                • line: 42
                                • column: 65
                                }
                              }
                            • callee: MemberExpression {...}
                              • type: "MemberExpression"
                              • start: 996
                              • end: 1008
                              • loc: {...}
                                • start: {...}
                                  • line: 42
                                  • column: 42
                                  }
                                • end: {...}
                                  • line: 42
                                  • column: 54
                                  }
                                }
                              • object: Identifier {...}
                                • type: "Identifier"
                                • start: 996
                                • end: 1002
                                • loc: {...}
                                  • start: {...}
                                    • line: 42
                                    • column: 42
                                    }
                                  • end: {...}
                                    • line: 42
                                    • column: 48
                                    }
                                  }
                                • name: "people"
                                }
                              • property: Identifier {...}
                                • type: "Identifier"
                                • start: 1003
                                • end: 1008
                                • loc: {...}
                                  • start: {...}
                                    • line: 42
                                    • column: 49
                                    }
                                  • end: {...}
                                    • line: 42
                                    • column: 54
                                    }
                                  }
                                • name: "slice"
                                }
                              • computed: false
                              • optional: false
                              }
                            • arguments: [...] (1)
                              • BinaryExpression {...}
                                • type: "BinaryExpression"
                                • start: 1009
                                • end: 1018
                                • loc: {...}
                                  • start: {...}
                                    • line: 42
                                    • column: 55
                                    }
                                  • end: {...}
                                    • line: 42
                                    • column: 64
                                    }
                                  }
                                • left: Identifier {...}
                                  • type: "Identifier"
                                  • start: 1009
                                  • end: 1014
                                  • loc: {...}
                                    • start: {...}
                                      • line: 42
                                      • column: 55
                                      }
                                    • end: {...}
                                      • line: 42
                                      • column: 60
                                      }
                                    }
                                  • name: "index"
                                  }
                                • operator: "+"
                                • right: Literal {...}
                                  • type: "Literal"
                                  • start: 1017
                                  • end: 1018
                                  • loc: {...}
                                    • start: {...}
                                      • line: 42
                                      • column: 63
                                      }
                                    • end: {...}
                                      • line: 42
                                      • column: 64
                                      }
                                    }
                                  • value: 1
                                  • raw: "1"
                                  }
                                }
                              ]
                            • optional: false
                            }
                          }
                        ]
                      }
                    }
                  }
                • ExpressionStatement {...}
                  • type: "ExpressionStatement"
                  • start: 1025
                  • end: 1043
                  • loc: {...}
                    • start: {...}
                      • line: 44
                      • column: 2
                      }
                    • end: {...}
                      • line: 44
                      • column: 20
                      }
                    }
                  • expression: AssignmentExpression {...}
                    • type: "AssignmentExpression"
                    • start: 1025
                    • end: 1042
                    • loc: {...}
                      • start: {...}
                        • line: 44
                        • column: 2
                        }
                      • end: {...}
                        • line: 44
                        • column: 19
                        }
                      }
                    • operator: "="
                    • left: Identifier {...}
                      • type: "Identifier"
                      • start: 1025
                      • end: 1030
                      • loc: {...}
                        • start: {...}
                          • line: 44
                          • column: 2
                          }
                        • end: {...}
                          • line: 44
                          • column: 7
                          }
                        }
                      • name: "first"
                      }
                    • right: AssignmentExpression {...}
                      • type: "AssignmentExpression"
                      • start: 1033
                      • end: 1042
                      • loc: {...}
                        • start: {...}
                          • line: 44
                          • column: 10
                          }
                        • end: {...}
                          • line: 44
                          • column: 19
                          }
                        }
                      • operator: "="
                      • left: Identifier {...}
                        • type: "Identifier"
                        • start: 1033
                        • end: 1037
                        • loc: {...}
                          • start: {...}
                            • line: 44
                            • column: 10
                            }
                          • end: {...}
                            • line: 44
                            • column: 14
                            }
                          }
                        • name: "last"
                        }
                      • right: Literal {...}
                        • type: "Literal"
                        • start: 1040
                        • end: 1042
                        • loc: {...}
                          • start: {...}
                            • line: 44
                            • column: 17
                            }
                          • end: {...}
                            • line: 44
                            • column: 19
                            }
                          }
                        • value: ""
                        • raw: "''"
                        }
                      }
                    }
                  }
                • ExpressionStatement {...}
                  • type: "ExpressionStatement"
                  • start: 1046
                  • end: 1089
                  • loc: {...}
                    • start: {...}
                      • line: 45
                      • column: 2
                      }
                    • end: {...}
                      • line: 45
                      • column: 45
                      }
                    }
                  • expression: AssignmentExpression {...}
                    • type: "AssignmentExpression"
                    • start: 1046
                    • end: 1088
                    • loc: {...}
                      • start: {...}
                        • line: 45
                        • column: 2
                        }
                      • end: {...}
                        • line: 45
                        • column: 44
                        }
                      }
                    • operator: "="
                    • left: Identifier {...}
                      • type: "Identifier"
                      • start: 1046
                      • end: 1047
                      • loc: {...}
                        • start: {...}
                          • line: 45
                          • column: 2
                          }
                        • end: {...}
                          • line: 45
                          • column: 3
                          }
                        }
                      • name: "i"
                      }
                    • right: CallExpression {...}
                      • type: "CallExpression"
                      • start: 1050
                      • end: 1088
                      • loc: {...}
                        • start: {...}
                          • line: 45
                          • column: 6
                          }
                        • end: {...}
                          • line: 45
                          • column: 44
                          }
                        }
                      • callee: MemberExpression {...}
                        • type: "MemberExpression"
                        • start: 1050
                        • end: 1058
                        • loc: {...}
                          • start: {...}
                            • line: 45
                            • column: 6
                            }
                          • end: {...}
                            • line: 45
                            • column: 14
                            }
                          }
                        • object: Identifier {...}
                          • type: "Identifier"
                          • start: 1050
                          • end: 1054
                          • loc: {...}
                            • start: {...}
                              • line: 45
                              • column: 6
                              }
                            • end: {...}
                              • line: 45
                              • column: 10
                              }
                            }
                          • name: "Math"
                          }
                        • property: Identifier {...}
                          • type: "Identifier"
                          • start: 1055
                          • end: 1058
                          • loc: {...}
                            • start: {...}
                              • line: 45
                              • column: 11
                              }
                            • end: {...}
                              • line: 45
                              • column: 14
                              }
                            }
                          • name: "min"
                          }
                        • computed: false
                        • optional: false
                        }
                      • arguments: [...] (2)
                        • Identifier {...}
                          • type: "Identifier"
                          • start: 1059
                          • end: 1060
                          • loc: {...}
                            • start: {...}
                              • line: 45
                              • column: 15
                              }
                            • end: {...}
                              • line: 45
                              • column: 16
                              }
                            }
                          • name: "i"
                          }
                        • BinaryExpression {...}
                          • type: "BinaryExpression"
                          • start: 1062
                          • end: 1087
                          • loc: {...}
                            • start: {...}
                              • line: 45
                              • column: 18
                              }
                            • end: {...}
                              • line: 45
                              • column: 43
                              }
                            }
                          • left: MemberExpression {...}
                            • type: "MemberExpression"
                            • start: 1062
                            • end: 1083
                            • loc: {...}
                              • start: {...}
                                • line: 45
                                • column: 18
                                }
                              • end: {...}
                                • line: 45
                                • column: 39
                                }
                              }
                            • object: Identifier {...}
                              • type: "Identifier"
                              • start: 1062
                              • end: 1076
                              • loc: {...}
                                • start: {...}
                                  • line: 45
                                  • column: 18
                                  }
                                • end: {...}
                                  • line: 45
                                  • column: 32
                                  }
                                }
                              • name: "filteredPeople"
                              }
                            • property: Identifier {...}
                              • type: "Identifier"
                              • start: 1077
                              • end: 1083
                              • loc: {...}
                                • start: {...}
                                  • line: 45
                                  • column: 33
                                  }
                                • end: {...}
                                  • line: 45
                                  • column: 39
                                  }
                                }
                              • name: "length"
                              }
                            • computed: false
                            • optional: false
                            }
                          • operator: "-"
                          • right: Literal {...}
                            • type: "Literal"
                            • start: 1086
                            • end: 1087
                            • loc: {...}
                              • start: {...}
                                • line: 45
                                • column: 42
                                }
                              • end: {...}
                                • line: 45
                                • column: 43
                                }
                              }
                            • value: 2
                            • raw: "2"
                            }
                          }
                        ]
                      • optional: false
                      }
                    }
                  }
                ]
              }
            }
          • FunctionDeclaration {...}
            • type: "FunctionDeclaration"
            • start: 1095
            • end: 1203
            • loc: {...}
              • start: {...}
                • line: 48
                • column: 1
                }
              • end: {...}
                • line: 51
                • column: 2
                }
              }
            • id: Identifier {...}
              • type: "Identifier"
              • start: 1104
              • end: 1116
              • loc: {...}
                • start: {...}
                  • line: 48
                  • column: 10
                  }
                • end: {...}
                  • line: 48
                  • column: 22
                  }
                }
              • name: "reset_inputs"
              }
            • expression: false
            • generator: false
            • async: false
            • params: [...] (1)
              • Identifier {...}
                • type: "Identifier"
                • start: 1117
                • end: 1123
                • loc: {...}
                  • start: {...}
                    • line: 48
                    • column: 23
                    }
                  • end: {...}
                    • line: 48
                    • column: 29
                    }
                  }
                • name: "person"
                }
              ]
            • body: BlockStatement {...}
              • type: "BlockStatement"
              • start: 1125
              • end: 1203
              • loc: {...}
                • start: {...}
                  • line: 48
                  • column: 31
                  }
                • end: {...}
                  • line: 51
                  • column: 2
                  }
                }
              • body: [...] (2)
                • ExpressionStatement {...}
                  • type: "ExpressionStatement"
                  • start: 1129
                  • end: 1164
                  • loc: {...}
                    • start: {...}
                      • line: 49
                      • column: 2
                      }
                    • end: {...}
                      • line: 49
                      • column: 37
                      }
                    }
                  • expression: AssignmentExpression {...}
                    • type: "AssignmentExpression"
                    • start: 1129
                    • end: 1163
                    • loc: {...}
                      • start: {...}
                        • line: 49
                        • column: 2
                        }
                      • end: {...}
                        • line: 49
                        • column: 36
                        }
                      }
                    • operator: "="
                    • left: Identifier {...}
                      • type: "Identifier"
                      • start: 1129
                      • end: 1134
                      • loc: {...}
                        • start: {...}
                          • line: 49
                          • column: 2
                          }
                        • end: {...}
                          • line: 49
                          • column: 7
                          }
                        }
                      • name: "first"
                      }
                    • right: ConditionalExpression {...}
                      • type: "ConditionalExpression"
                      • start: 1137
                      • end: 1163
                      • loc: {...}
                        • start: {...}
                          • line: 49
                          • column: 10
                          }
                        • end: {...}
                          • line: 49
                          • column: 36
                          }
                        }
                      • test: Identifier {...}
                        • type: "Identifier"
                        • start: 1137
                        • end: 1143
                        • loc: {...}
                          • start: {...}
                            • line: 49
                            • column: 10
                            }
                          • end: {...}
                            • line: 49
                            • column: 16
                            }
                          }
                        • name: "person"
                        }
                      • consequent: MemberExpression {...}
                        • type: "MemberExpression"
                        • start: 1146
                        • end: 1158
                        • loc: {...}
                          • start: {...}
                            • line: 49
                            • column: 19
                            }
                          • end: {...}
                            • line: 49
                            • column: 31
                            }
                          }
                        • object: Identifier {...}
                          • type: "Identifier"
                          • start: 1146
                          • end: 1152
                          • loc: {...}
                            • start: {...}
                              • line: 49
                              • column: 19
                              }
                            • end: {...}
                              • line: 49
                              • column: 25
                              }
                            }
                          • name: "person"
                          }
                        • property: Identifier {...}
                          • type: "Identifier"
                          • start: 1153
                          • end: 1158
                          • loc: {...}
                            • start: {...}
                              • line: 49
                              • column: 26
                              }
                            • end: {...}
                              • line: 49
                              • column: 31
                              }
                            }
                          • name: "first"
                          }
                        • computed: false
                        • optional: false
                        }
                      • alternate: Literal {...}
                        • type: "Literal"
                        • start: 1161
                        • end: 1163
                        • loc: {...}
                          • start: {...}
                            • line: 49
                            • column: 34
                            }
                          • end: {...}
                            • line: 49
                            • column: 36
                            }
                          }
                        • value: ""
                        • raw: "''"
                        }
                      }
                    }
                  }
                • ExpressionStatement {...}
                  • type: "ExpressionStatement"
                  • start: 1167
                  • end: 1200
                  • loc: {...}
                    • start: {...}
                      • line: 50
                      • column: 2
                      }
                    • end: {...}
                      • line: 50
                      • column: 35
                      }
                    }
                  • expression: AssignmentExpression {...}
                    • type: "AssignmentExpression"
                    • start: 1167
                    • end: 1199
                    • loc: {...}
                      • start: {...}
                        • line: 50
                        • column: 2
                        }
                      • end: {...}
                        • line: 50
                        • column: 34
                        }
                      }
                    • operator: "="
                    • left: Identifier {...}
                      • type: "Identifier"
                      • start: 1167
                      • end: 1171
                      • loc: {...}
                        • start: {...}
                          • line: 50
                          • column: 2
                          }
                        • end: {...}
                          • line: 50
                          • column: 6
                          }
                        }
                      • name: "last"
                      }
                    • right: ConditionalExpression {...}
                      • type: "ConditionalExpression"
                      • start: 1174
                      • end: 1199
                      • loc: {...}
                        • start: {...}
                          • line: 50
                          • column: 9
                          }
                        • end: {...}
                          • line: 50
                          • column: 34
                          }
                        }
                      • test: Identifier {...}
                        • type: "Identifier"
                        • start: 1174
                        • end: 1180
                        • loc: {...}
                          • start: {...}
                            • line: 50
                            • column: 9
                            }
                          • end: {...}
                            • line: 50
                            • column: 15
                            }
                          }
                        • name: "person"
                        }
                      • consequent: MemberExpression {...}
                        • type: "MemberExpression"
                        • start: 1183
                        • end: 1194
                        • loc: {...}
                          • start: {...}
                            • line: 50
                            • column: 18
                            }
                          • end: {...}
                            • line: 50
                            • column: 29
                            }
                          }
                        • object: Identifier {...}
                          • type: "Identifier"
                          • start: 1183
                          • end: 1189
                          • loc: {...}
                            • start: {...}
                              • line: 50
                              • column: 18
                              }
                            • end: {...}
                              • line: 50
                              • column: 24
                              }
                            }
                          • name: "person"
                          }
                        • property: Identifier {...}
                          • type: "Identifier"
                          • start: 1190
                          • end: 1194
                          • loc: {...}
                            • start: {...}
                              • line: 50
                              • column: 25
                              }
                            • end: {...}
                              • line: 50
                              • column: 29
                              }
                            }
                          • name: "last"
                          }
                        • computed: false
                        • optional: false
                        }
                      • alternate: Literal {...}
                        • type: "Literal"
                        • start: 1197
                        • end: 1199
                        • loc: {...}
                          • start: {...}
                            • line: 50
                            • column: 32
                            }
                          • end: {...}
                            • line: 50
                            • column: 34
                            }
                          }
                        • value: ""
                        • raw: "''"
                        }
                      }
                    }
                  }
                ]
              }
            }
          ]
        • sourceType: "module"
        • leadingComments: [...] (1)
          • Line {...}
            • type: "Line"
            • value: " https://eugenkiss.github.io/7guis/tasks#crud "
            }
          ]
        }
      • attributes: []
      }
    }
The AST is not public API and may change at any point in time
CRUD • Playground • Svelte