[Home]
>
Snippets
>
Languages
>
JavaScript
>
Fn
>
Identity function
Identity function
JavaScript version
const
identity
=
(
x
)
=>
x
;