DEV Community

Jan Küster 🔥
Jan Küster 🔥

Posted on

2 2

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!

Top comments (2)

Collapse
 
salmin profile image
Salmin Skenderovic

fn``

Collapse
 
jankapunkt profile image
Jan Küster 🔥

Haha "You win!" 👍

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More