Skip to main content
Complete 1LOC
Snippets
Search
Function
Identity function
Identity function
JavaScript version
const
identity
=
(
x
)
=>
x
;
Previous
Flip the arguments of a function
Next
Logical xor operator
Comments