Closed Bug 195663 Opened 22 years ago Closed 22 years ago

Multiple spaces in a string variable are combined to one space

Categories

(Core :: JavaScript Engine, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 50348

People

(Reporter: spamwahn01, Assigned: rogerl)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 <html> <head> </head> <body> <script language="JavaScript"> <!-- var part1="aaa"; var part2=" "; var part3="zzz"; alert(part1 + part2 + part3); //--> </script> <noscript></noscript> </body> </html> Reproducible: Always Steps to Reproduce: 1. Copy example to file 2. Name file space.html 3. Open it with Mozilla Actual Results: Mozilla outputs the strings as "aaa zzz" Expected Results: It should output "aaa zzz"
*** This bug has been marked as a duplicate of 50348 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Verified Duplicate -
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.