मैं क्यों मिल रही है ...त्रुटि का कारण क्या है 'string.split फ़ंक्शन नहीं है'?
Uncaught TypeError: string.split is not a function
... जब मैं चलाने ...
(function() {
var string = document.location;
var split = string.split('/');
})();
'document.location' एक वस्तु है। आज़माएं: 'var string = document.location.href' – Teemu