I am making a web application for arranging seats, and I have written these codes: However, console.log(seatContainerConector); just gives me back undefined. I have tried to delete const seatContainerConector = this.seatContainer; and use console.log(this.seatContainer); instead, but it didn’t work. How can I solve this? Answer Your code is hard to debug since you leave out some essential elements, like new
Tag: private-methods
How to get acornjs to properly style check private class fields and methods?
I’m working on a project where I need to use a style check for my code. I want to use acorn js, however it fails when trying to parse private class fields and class methods. I’ve tried: However it fails when running. This is the error message: I need to be able to use private class fields and methods, but