You need to create a variable to store a value.
Use the var keyword to declare a variable.
var s = "I am a String"; var i = 5;
var s = "I am a String"; var i = 5;
Note: Just as in ActionScript 2, you use the var keyword only the first time you declare the variable.