Exam4Training

Which three options show valid methods for creating a fat arrow function? Choose 3 answers

Which three options show valid methods for creating a fat arrow function? Choose 3 answers
A . x => ( console.log(โ€˜ executed โ€™) ; )
B . [ ] => ( console.log(โ€˜ executed โ€™) ๐Ÿ˜‰
C . ( ) => ( console.log(โ€˜ executed โ€™) ๐Ÿ˜‰
D . X,y,z => ( console.log(โ€˜ executed โ€™) ๐Ÿ˜‰
E . (x,y,z) => ( console.log(โ€˜ executed โ€™) ๐Ÿ˜‰

Answer: A,E

Exit mobile version