From 5dfdd40cff7a3803b152899dea32629e256fa4e0 Mon Sep 17 00:00:00 2001 From: "pschwartau%netscape.com" Date: Tue, 3 Jul 2001 01:13:23 +0000 Subject: [PATCH] Improving readability. git-svn-id: svn://10.0.0.236/trunk@98511 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/js/tests/js1_5/Scope/scope-002.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mozilla/js/tests/js1_5/Scope/scope-002.js b/mozilla/js/tests/js1_5/Scope/scope-002.js index cea85774935..64938225a6b 100644 --- a/mozilla/js/tests/js1_5/Scope/scope-002.js +++ b/mozilla/js/tests/js1_5/Scope/scope-002.js @@ -62,7 +62,7 @@ addThis(); -// TEST 2 +// TEST 2 function Car(make) { this.make = make; @@ -75,14 +75,15 @@ function Car(make) } } -var myCar = new Car(cnMake); -myCar.paint(); +var myCar = new Car(cnMake); status = 'Section 3 of test'; actual = myCar.make; expect = cnMake; addThis(); + +myCar.paint(); status = 'Section 4 of test'; actual = myCar.color; expect = cnColor;