Skip to content

Instantly share code, notes, and snippets.

@llimllib
Created March 13, 2009 18:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save llimllib/78675 to your computer and use it in GitHub Desktop.
Save llimllib/78675 to your computer and use it in GitHub Desktop.
//imagine you meant to type this:
var x:Array = [[],[]];
//But you typed this instead. These are compile-time syntax errors:
var x:Array = [[][]];
var x:Array = [["a"][]];
//But these are run-time errors:
var x:Array = [[]["b"]];
var x:Array = [["a"]["b"]];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment