Javascript Variable Scope

by "John Murray" <jmnc(at)lis.net.au>

 Date:  Fri, 23 Jun 2000 09:38:26 +1000
 To:  <hwg-languages(at)hwg.org>
  todo: View Thread, Original
What is the scope of weekend at # below
 
<script>
var weekend; // Global
 
function whattodo(weekend){ // # --> ????
    ....
    var weekend; // Local to the block
}
 
</script>
 
John

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA