Okay,
I am trying to create an object in JavaScript. The project is a bit private so I blocked out the object name.
So I have created this objected, stated the constructor, but when I try to refer to the someobject.t() method, it will give an error saying that someobject has no method t(). I really have been raking over this for quite some time and I can’t really see what I have done wrong. And have used this method of creating prototype object in JS before.
Can anyone tell me what I am doing wrong?

Whoops!
When I instantiated the object, I named it
runtime, and I was trying to refer to the actual name.Wrong: