Created
April 28, 2020 19:50
-
-
Save NickyMeuleman/28413f758604744d26a3b5ead182c72c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
const LIKE_FN_NAME = "getTurtleVideo"; | |
const anObject = { | |
[LIKE_FN_NAME]() { | |
return "https://youtu.be/CMNry4PE93Y"; | |
}, | |
}; | |
anObject[LIKE_FN_NAME](); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment