const with arrow function missing =
obj1.display() is not a function since display is not defined
change to obj1.myMethod()
fix some inconsistent indentation
I know there are some other issues that I didn't look at before opening this pr, but I saw these the first time I glanced. Hope this helps.
const with arrow function missing = obj1.display() is not a function since display is not defined change to obj1.myMethod() fix some inconsistent indentation
I know there are some other issues that I didn't look at before opening this pr, but I saw these the first time I glanced. Hope this helps.