JavaScript: Functions and Regular Expressions

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.

Prerequisite
Please contact us for information about prerequisites.

Expected Duration
120 minutes

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.

Objective

The Function Object in JavaScript

  • recognize 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
  • Regular Expressions and Pattern Matching

  • 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
  • MONTHLY SUBSCRIPTION

    $129/month
     

    ANNUAL SUBSCRIPTION

    $1295/year

    Multi-license discounts available for Annual and Monthly subscriptions.