Skip to content

Instantly share code, notes, and snippets.

@eligrey
Created September 19, 2009 22:59
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 eligrey/189624 to your computer and use it in GitHub Desktop.
Save eligrey/189624 to your computer and use it in GitHub Desktop.
"use strict";
importScripts("http://gist.github.com/212482.txt");
function matrix (width, height, fill)
[
[
arguments.length > 2 ?
(typeof fill === "function" ?
fill() : fill
)
:
0
for (i in +width)
]
for (i in +height)
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment