This may sound stupid question but i can't figure out why in a string
This is some random text.
I can't find any spaces in this string
Then I thought may be i just copy the blank space between two words and compare with space guess what it gives false
console.log(' ' == ' ');
here is the fiddle
couldn't figure out why this is happening
UPDATE
Is there any way to find any type of blank spaces in string weather that be any any character code?