[{ "code": "invalid-property", "message": "'ondestroy' should be a function expression, not an arrow function expression", "pos": 29, "loc": { "line": 3, "column": 2 }, "end": { "line": 5, "column": 3 } }]