Chrome recently added a value preview to their auto-completion.
So when typing the word help it auto-completes the word. And trying to preview the resulting value. Which calls the .toString method, spamming that function every-time you try to finish typing help
Is it possible detect who is calling the function, or use getters to only run the .toString function once enter is pressed?
Chrome recently added a value preview to their auto-completion.
So when typing the word
helpit auto-completes the word. And trying to preview the resulting value. Which calls the.toStringmethod, spamming that function every-time you try to finish typinghelpIs it possible detect who is calling the function, or use getters to only run the
.toStringfunction once enter is pressed?