Are you trying to use JS class syntax here? If so, you are missing the word class in the definition and you are using the wrong syntax in the method definition. Refer to the MDN docs on classes for how to do it.
No, there’s an entire section of the curriculum on dealing with objects (the OO programming section), then class syntax, which does the same thing, is covered in a few lessons in the ES6 section.
let ClassIWrote = {
someMethod: function() {return "This some text";}
}
This is an object. You can’t use new on an object because it’s already an object. new is used to create an object from a function call - new myFunction() will try to create an object based on whatever myFunction does.