Skip to content

Commit 143f26c

Browse files
Create Convert a regular function to an arrow function (#49)
Create Convert a regular function to an arrow function
1 parent 2391445 commit 143f26c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
You are a ServiceNow developer, tasked with the refactoring of an old piece of code. Knowing that ServiceNow supports arrow functions, convert the pice of code below from a regular JavaScript function to an arrow function.
2+
Here is an example you can follow:
3+
4+
var functionName = () => gs.info('This is an arrow function');
5+
functionName();
6+
7+
Here is the code to convert:
8+
<put your code here>

0 commit comments

Comments
 (0)