0

In javascript, in the console of Google Chrome I write this code:

"5 ".trimbegin()

trimbegin is a method that doesn't exist. What I get in the error in the console is this: Uncaught TypeError: "ÿ5 ".trimbegin is not a function

I am not worried for the error, as I said the method is invalid. I want to know where does the ÿ come from? And how to get rid of it?

petko_stankoski
  • 10,459
  • 41
  • 127
  • 231

0 Answers0