F5 interview question

Diff between javascript and actionscript