DEV Community

Jan Küster
Jan Küster

Posted on

JavaScript code puzzle - can you call this function?

Consider the following function:

const fn = () => 'You win!'
Enter fullscreen mode Exit fullscreen mode

Try to call this function without using any of these characters: .()[]

The shortest line of code wins!

Oldest comments (2)

Collapse
 
salmin profile image
Salmin Skenderovic

fn``

Collapse
 
jankapunkt profile image
Jan Küster

Haha "You win!" 👍