×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Randy Marsh
Added: Mar 4, 2014 1:14 PM
Views: 7
Tags: no tags
  1. var color = "red";
  2.  
  3. function example () {
  4.   color = "blue";
  5. }
  6.  
  7. example()
  8.  
  9. alert(color);