V
V
vottakoinick2021-06-30 15:55:37
JavaScript
vottakoinick, 2021-06-30 15:55:37

Why doesn't split work?

Here is such an error

(index):3256 Uncaught TypeError: Cannot read property 'split' of undefined

60dc689c3d788030832977.jpeg

Here is the code
60dc68ef4bd22015168255.jpeg
window.adress[4250].split(':')[0]

So I'm checking in the console 60dc69b9155e1600895537.jpeg
, I don't understand everything should work, where does the error come from?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
TheSnegok, 2021-06-30
@TheSnegok

What comes before split is undefined

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question