Skip to content

Commit 85039b1

Browse files
authored
Merge branch 'ServiceNowDevProgram:main' into main
2 parents d4d5b29 + 0b45a88 commit 85039b1

2 files changed

Lines changed: 10 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>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
You are a ServiceNow developer taske with the development of a feature which involves communication between the client and the server.
2+
Help me create with client-callable script include with an ajax function inside and give me an example of how this function must be used client-side.

0 commit comments

Comments
 (0)