John Smith
john@example.com
---
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing array_elem_pop_empty_fail.kcl
{
"Ok": {
"body": [
"declaration": {
"end": 8,
"id": {
"end": 3,
"name": "arr",
"start": 0,
"type": "Identifier"
},
"init": {
"elements": [],
"start": 6,
"type": "ArrayExpression",
"type": "ArrayExpression"
"type": "VariableDeclarator"
"kind": "const",
"type": "VariableDeclaration",
"type": "VariableDeclaration"
"end": 24,
"end": 13,
"name": "fail",
"start": 9,
"arguments": [
"end": 23,
"start": 20,
"type": "Identifier",
}
],
"callee": {
"end": 19,
"name": "pop",
"start": 16,
"type": "CallExpression",
"type": "CallExpression"
"end": 25,
"start": 0