+ 2

How do I assign a function to a global variables in javascript

if possible drop an example i will apriciate it thanks

24th Jun 2018, 5:27 PM
Webster
Webster - avatar
4 Respostas
0
let variableName = function(){ return "something"; }
26th Jun 2018, 3:30 PM
Adnen Rebai
Adnen Rebai - avatar
0
let variableName =()=> "something";
26th Jun 2018, 3:34 PM
Adnen Rebai
Adnen Rebai - avatar
0
hey
28th Jun 2018, 9:55 PM
Tabe Chucky
Tabe Chucky - avatar
0
can someone help me with xp
28th Jun 2018, 9:55 PM
Tabe Chucky
Tabe Chucky - avatar