Amit Gujarathi
Giga Sage
Options
- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 02-02-2023 09:45 PM
Hi All,
I hope you're doing great.
In today's tutorial, we will be looking into Javascript functions and how we can use Javascript functions in Servicenow.
Javascript functions make your code more readable, more reusable, and more robust.
Let's first try to understand what functions in Javascript.
- Functions are one of the fundamental building blocks in JavaScript.
- A function in JavaScript is similar to a procedure—a set of statements that performs a task or calculates a value, but for a procedure to qualify as a function, it should take some input and return an output where there is some obvious relationship between the input and the output.
- To use a function, you must define it somewhere in the scope from which you wish to call it.
The agenda of this video:
1. What are JavaScript functions
2. Advantages of JavaScript function
3. How we can use JavaScript functions on ServiceNow
4. Demo examples
Please be sure to bookmark this article as well as mark it as Helpful if you thought it was helpful.
Regards,
Amit Gujarathi
Labels:
- 5,328 Views
Comments
Community Alums
Not applicable
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
12-23-2023
08:15 AM
Best explanation I have seen. I am self-taught and have struggled with functions...