For example if I wrote in JavaScript:
console.
after the "." a list populates of valid and invalid methods that I can use on console. For example console.writeln() is one of the autocompletions. Is there any way to have methods that only apply to the object to avoid confusion?