# Julia, <s>9</s> 3 bytes

<!-- language-all: lang-default -->

    eye

This is just a built-in function that accepts an integer `n` and returns an `nxn Array{Float64,2}` (i.e. a 2D array). Call it like `eye(n)`.

Note that submissions of this form are acceptable per [this policy](http://meta.codegolf.stackexchange.com/questions/7205/on-scoring-builtin-functions).