Vi ste ovdje
JavaScript: Functions and Regular Expressions
Overview/Description
In JavaScript, all functions are technically Function objects and provide users with an alternative way to encapsulate statements to perform more powerful and useful actions in a reusable piece of code. Regular expressions ease the task of validating data in JavaScript programs. This course will explore how to use Function objects and useful predefined functions that are part of the JavaScript language. It will also detail the regular expression support built into JavaScript that allows developers to perform pattern matching and validation of user-entered data. Specific topics covered will include Function objects, recursion, anonymous functions, predefined JavaScript functions, and pattern matching using regular expressions. This course is one of a series covering the fundamentals of the JavaScript language.
Target Audience
All organizations or individual consultants with a working knowledge of HTML and basic programming concepts, who intend to use JavaScript with HTML to develop interactive web applications that use cross-browser client-side scripting.
Expected Duration (hours)
2.0
Lesson Objectivesrecognize how function objects are defined and executed
recognize the uses for anonymous functions
recognize how to call a function recursively
identify the appropriate predefined function for a given task
use the best approach to define and call a function object in a given scenario
complete a recursive function
use predefined JavaScript functions in a function expression
recognize how to create and initialize a RegExp expression object
choose an appropriate method to use with a regular expression and predict the result, in a given scenario
determine the output for a regular expression that includes attribute characters
recognize the results of using the replace method with a regular expression containing various characters
recognize how specific special characters are used in testing a string for a specific pattern
define a regular expression using special characters and repetition characters
choose the regular expression that will detect a given pattern
recognize which entries would be validated by a given regular expression
create and initialize a RegExp object to detect a common pattern
validate a common pattern using a regular expression method
In JavaScript, all functions are technically Function objects and provide users with an alternative way to encapsulate statements to perform more powerful and useful actions in a reusable piece of code. Regular expressions ease the task of validating data in JavaScript programs. This course will explore how to use Function objects and useful predefined functions that are part of the JavaScript language. It will also detail the regular expression support built into JavaScript that allows developers to perform pattern matching and validation of user-entered data. Specific topics covered will include Function objects, recursion, anonymous functions, predefined JavaScript functions, and pattern matching using regular expressions. This course is one of a series covering the fundamentals of the JavaScript language.
Target Audience
All organizations or individual consultants with a working knowledge of HTML and basic programming concepts, who intend to use JavaScript with HTML to develop interactive web applications that use cross-browser client-side scripting.
Expected Duration (hours)
2.0
Lesson Objectives
JavaScript: Functions and Regular Expressions
Trajanje:
2 h
Šifra:
sl_jasc_a03_it_enus