[Home] > Snippets  > Languages  > JavaScript  > Fn  >  Identity function

Identity function

JavaScript

const identity = (x) => x