Closed Bug 484933 Opened 16 years ago Closed 16 years ago

Got different result when I run the same js function twice.

Categories

(Firefox :: General, defect)

3.0 Branch
x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 98409

People

(Reporter: craigz, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; zh-CN; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; zh-CN; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 <script type="text/javascript"> function tclose(){ if (notContainSpace('111 111')){ alert('no space!'); } } function notContainSpace(regValue) { var reg=/\s+/g; return ! reg.test(regValue); } </script> run tclose() twice on a page, you will get different result. Reproducible: Always
Keywords: classic
Version: unspecified → 3.0 Branch
Why did you set the classic keyword?
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Keywords: classic
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.