Last active
May 11, 2021 05:17
-
-
Save pjcodesjs/191bf1beb551e5d6d656c4b1a93d1007 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SINGLE LINE ARROW FUNCTIONS WITHOUT RETURN KEYWORD OR {} | |
let oldest_cat = c => `${c} is the oldest one`; | |
oldest_cat('Jimmy'); // Jimmy is the oldest one |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment