Skip to content
This repository has been archived by the owner on Aug 23, 2019. It is now read-only.

function/identity #2

Open
nickstark opened this issue May 2, 2014 · 1 comment
Open

function/identity #2

nickstark opened this issue May 2, 2014 · 1 comment

Comments

@nickstark
Copy link

Self explanatory.

@shannonmoeller
Copy link
Member

I actually had to look this up. Returns the first argument provided to it.

identity(3);     // 3
identity(1,2,3); // 1
identity('foo'); // "foo"

@shannonmoeller shannonmoeller changed the title Identity function/identity May 2, 2014
@shannonmoeller shannonmoeller added this to the 1.0.0 milestone Jul 8, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants