SlideShare a Scribd company logo
www.webstackacademy.com ‹#›
Function
JavaScript
www.webstackacademy.com ‹#›

Invocation patterns

Recursion

Generator function

Arrow function

Variadic functions
Table of Content
www.webstackacademy.com ‹#›www.webstackacademy.com ‹#›
Invocation patterns
(JavaScript)
www.webstackacademy.com ‹#›
Function Invocation Patterns
●
The code in a function is not executed when the function is defined
●
Function is executed when it is invoked
●
Functions can be invoked in 4 different ways
– Invoking a function as a “function”
– Invoking a function as a “method”
– Invoking a function with a “Constructor function”
– Invoking a function with a “apply and call”
www.webstackacademy.com ‹#›
Invocation pattern
(invoking as function)
<script>
var obj;
function square(a) {
return a * a;
}
document.write(“Square of 3 is ” + square(3));
</script>
www.webstackacademy.com ‹#›
Invocation pattern
(invoking as method)
●
When a function is part of an object, it is called a method
●
Method invocation is the pattern of invoking a function
that is part of an object
●
JavaScript will set the this parameter to the object where
the method was invoked on
●
JavaScript binds this at execution (also known as late
binding)
www.webstackacademy.com ‹#›
Invocation pattern
(invoking as method)
<script>
var obj = { firstName: "Smith", lastName: "Doe",
fullName: function() {
return this.firstName + " " + this.lastName;
}
};
// In the example above, this would be set to obj
document.write("Full name is " + obj.fullName());
</script>
www.webstackacademy.com ‹#›
Invocation pattern
(Constructor invocation)
●
The constructor invocation pattern involves putting the new
operator just before the function is invoked
●
If the function returns a primitive type (number, string, boolean, null
or undefined)
– The return will be ignored and instead this will be returned
(which is set to the new object)
●
If the function returns an instance of Object
– The object will be returned instead of returning this
www.webstackacademy.com ‹#›
Invocation pattern
(Constructor invocation - 1)
<script>
var Fullname = function(firstname, lastname) {
// create a property fullname
return this.fullname = firstname + ‘ ’ + lastname;
};
var obj = new Fullname(“Tenali”, “Raman”);
document.write("Full name is " + obj.fullname);
</script>
www.webstackacademy.com ‹#›
Invocation pattern
(Constructor invocation - 2)
<script>
var Fullname = function(firstname, lastname) {
// return object
return { fullname : firstname + ‘ ’ + lastname }
};
var obj = new Fullname(“Tenali”, “Raman”);
document.write("Full name is " + obj.fullname);
</script>
www.webstackacademy.com ‹#›
Invocation pattern
(with apply() and call() methods)
●
JavaScript functions are objects and have properties and
methods
●
The call() and apply() are predefined method, invoke the
function indirectly
●
The call() method uses its own argument list as arguments to
the function
●
The apply() method expects an array of values to be used as
arguments
www.webstackacademy.com ‹#›
Invocation pattern
(by call() method)
<script>
var obj;
function square(a) {
return a * a;
}
document.write("Square of 3 is " + square.call(obj, 3));
</script>
www.webstackacademy.com ‹#›
Invocation pattern
(by apply() method)
<script>
var obj, arrSum;
function sum(x, y) {
return x + y;
}
arrSum = [5, 4];
document.write("Sum = " + sum.apply(obj, arrSum));
</script>
www.webstackacademy.com ‹#›
Function Expression
Syntax:
var func = function (param-1, param-2, . . . , param-n) {
statement(s);
}
●
Variable can be used to invoke the function
●
Above function is an anonymous function (a function
without a name)
www.webstackacademy.com ‹#›
Function Hoisting
●
JavaScript moves variable and function declarations to top of
the current scope; this is called hoisting
●
Due to hoisting JavaScript functions can be called before they
are declared
var s = sum (x, y);
function sum (x, y) {
return x + y;
}
function sum (x, y) {
return x + y;
}
var s = sum (x, y);
www.webstackacademy.com ‹#›
Function Hoisting
●
Function expressions are not hoisted onto the beginning of the
scope, therefore they cannot be used before they appear in the
code
www.webstackacademy.com ‹#›
Self Invoking Function
●
Function expressions can be used to self-invoke function
(start automatically without being called)
●
This is done by using parenthesis () -- also known as
function invocation operator
Syntax:
( function_expression ) ( );
www.webstackacademy.com ‹#›
Self Invoking Function
Example:
( function () {
document.write(“I am self invoking function”);
} ) ( );
●
Such expressions also known as IIFE (Immediately
Invokable Function Expression
www.webstackacademy.com ‹#›
JavaScript Scopes
(what?)
●
Scope determines the accessibility (or visibility) of variables,
objects, and functions from different parts of the code at
runtime
●
JavaScript has two types of scope
– Local scope
– Global scope
●
Please note that, in JavaScript, objects and functions are
also variables
www.webstackacademy.com ‹#›
JavaScript Scopes
(why?)
●
Scope provides security to data that, in principle, shall be
accessed only by intended part of the code
●
If data is exposed to all parts of program then it can be
modified anytime without your notice which will lead to
unexpected behaviour and results
●
Scope also allow use to use same names in different
functions
www.webstackacademy.com ‹#›
JavaScript Scopes
(Local Scope)
●
Variables defined within a function are local to the function
●
Such variables have local scope and can’t be accessed
outside the function
●
Since local variables are only recognized inside their
functions, variables with the same name can be used in
different functions
●
Local variables are created when a function is invoked
(started), and deleted when the function exits (ended)
www.webstackacademy.com ‹#›
JavaScript Scopes
(Local Scope)
<script>
function square(num) {
var result = num * num; // variable with local scope
}
Square(3); // invoke the function
document.write(“Square of number = ” + result); // Exception
</script>
www.webstackacademy.com ‹#›
JavaScript Scopes
(Global Scope)
●
Variables defined outside a function have global scope
●
Such variables are visible to all the functions within a
document, hence, can be shared across functions
www.webstackacademy.com ‹#›
JavaScript Scopes
(Global Scope)
<script>
var result; // variable with global scope
function square(num) {
result = num * num;
}
square(3); // invoke the function
document.write(“Square of number = ” + result);
</script>
www.webstackacademy.com ‹#›
JavaScript Scopes
(Function and block scopes)
●
Further, in JavaScript, there are two kinds of local scope
– Function scope
– Block scope
●
A block of code is created with curly braces { }
●
Conditional statements (if, switch) and loops (for, while,
do-while) do not create new scope
www.webstackacademy.com ‹#›
JavaScript Scopes
(How variables are created?)
●
JavaScript processes all variable declarations before
executing any code, whether the declaration is inside a
conditional block or other construct
●
JavaScript first looks for all variable declarations in given
scope and creates the variables with an initial value of
undefined
●
If a variable is declared with a value, then it still initially has
the value undefined and takes on the declared value only
when the line that contains the declaration is executed
www.webstackacademy.com ‹#›
JavaScript Scopes
(How variables are created?)
●
Once JavaScript has found all the variables, it executes
the code
●
If a variable is implicitly declared inside a function -
– Variable has not been declared with keyword “var”
– And, appears on the left side of an assignment
expression
is created as a global variable
www.webstackacademy.com ‹#›
JavaScript Scopes
(Global Scope)
<script>
function square(num) {
result = num * num; // Automatically global variable
}
document.write(“Square of number = ” + result);
</script>
www.webstackacademy.com ‹#›
JavaScript Scopes
(Global Scope)
●
Global variables are not automatically created in "Strict Mode"
<script>
function square(num) {
“use strict”;
result = num * num;
}
document.write(“Square of number = ” + result); // Exception
</script>
www.webstackacademy.com ‹#›
JavaScript Scopes
(Global Scope)
●
Global variables belong to window object
<script>
function square(num) {
result = num * num;
}
document.write(“Square of number = ” + window.result);
</script>
www.webstackacademy.com ‹#›
JavaScript Scopes
(Function scope variable)
●
Variables declared using keyword “var” within a function
has function scope
www.webstackacademy.com ‹#›
JavaScript Scopes
(Function scope variable)
<script>
function func() {
var x = 10; // function scope variable
{
var x = 20; // function scope variable
document.write("<br>x = " + x); // shall print 20
}
document.write("<br>x = " + x); // shall print 20
}
</script>
www.webstackacademy.com ‹#›
JavaScript Scopes
(Block scope variable)
●
ECMA script 6 has introduced keywords “let” and “const”
●
Variables declared using these keywords will have block
level scope
●
For these variables, the braces {. . .} define a new scope
www.webstackacademy.com ‹#›
JavaScript Scopes
(Block scope variable - let)
<script>
function func() {
let x = 10;
{
let x = 20;
document.write("<br>x = " + x); // shall print 20
}
document.write("<br>x = " + x); // shall print 10
}
</script>
www.webstackacademy.com ‹#›
JavaScript Scopes
(Block scope variable - const)
<script>
function func() {
const name = “Webstack Academy”;
{
const name = “Hello world!”;
document.write("<br>name = " + name);
}
document.write("<br>name = " + name);
}
</script>
www.webstackacademy.com ‹#›
JavaScript Scopes
(Life time of variables)
Variable Keyword Scope Life time
Local Var Function ●
Created when function is invoked
●
Deleted when function exits
Let, const Function or
block
●
Created when function is invoked
●
Deleted when function exits
Global var, let,
const
Browser
Window
●
Created when web page is loaded in the
browser window (tab)
●
Deleted when browser window (tab) is closed
var, let,
const
Block ●
Created when block is entered
●
Deleted when block is exited
●
Life time of a variable is the time duration between it’s creation
and deletion
www.webstackacademy.com ‹#›
JavaScript Scopes
(important notes)
●
Do not create global variables unless needed
●
Your global variables or functions can overwrite window
variables or functions
●
Opposite is also possible; any function (including window
object) can overwrite your global variables and functions
www.webstackacademy.com ‹#›
Function Closures
●
In JavaScript, an inner (nested) function stores
references to the local variables that are present in the
same scope as the function itself, even after the function
returns
●
The inner function has access to the outer function's
variables; this behavior is called lexical scoping
●
However, the outer function does not have access to the
inner function's variables
www.webstackacademy.com ‹#›
Function Closures
●
A closure is an inner function that has access to the outer
function’s variables – scope chain
●
The closure has three scope chains:
– It has access to its own block scope (variables defined
between its curly brackets)
– It has access to the outer function’s variables
– It has access to the global variables
www.webstackacademy.com ‹#›
Function Closures
(Example)
<script>
function disp() { // Parent function
var name = "Webstack Academy"; // name is a local variable
displayName() { // displayName() is the inner function, a closure
alert (name); // The inner function uses variable of parent function
}
displayName(); // child function call
}
disp(); // parent function call
</script>
www.webstackacademy.com ‹#›
JavaScript Scopes
(Lexical Scope)
www.webstackacademy.com ‹#›www.webstackacademy.com ‹#›
Recursion
(JavaScript)
www.webstackacademy.com ‹#›
Recursion
●
Recursion is the process in which a function is called by
itself
●
Recursion is a technique for iterating over an operation
by having a function call itself repeatedly until it arrives at
a result
www.webstackacademy.com ‹#›
Recursion
(Example)
<script>
var factorial = function(n) {
if (n <= 0) {
return 1;
} else {
return (n * factorial(n - 1));
}
};
document.write("factorial value"+factorial(5));
</script>
www.webstackacademy.com ‹#›
Exercise
●
Write a JavaScript function to find sum of digits of a number
●
Write a JavaScript program to compute x raise to the power y
using recursion
www.webstackacademy.com ‹#›
Web Stack Academy (P) Ltd
#83, Farah Towers,
1st floor,MG Road,
Bangalore – 560001
M: +91-80-4128 9576
T: +91-98862 69112
E: info@www.webstackacademy.com
Ad

More Related Content

What's hot (20)

JavaScript - Chapter 10 - Strings and Arrays
 JavaScript - Chapter 10 - Strings and Arrays JavaScript - Chapter 10 - Strings and Arrays
JavaScript - Chapter 10 - Strings and Arrays
WebStackAcademy
 
Angular - Chapter 7 - HTTP Services
Angular - Chapter 7 - HTTP ServicesAngular - Chapter 7 - HTTP Services
Angular - Chapter 7 - HTTP Services
WebStackAcademy
 
Javascript functions
Javascript functionsJavascript functions
Javascript functions
Alaref Abushaala
 
Introduction to Javascript
Introduction to JavascriptIntroduction to Javascript
Introduction to Javascript
Amit Tyagi
 
JavaScript Programming
JavaScript ProgrammingJavaScript Programming
JavaScript Programming
Sehwan Noh
 
Angular Data Binding
Angular Data BindingAngular Data Binding
Angular Data Binding
Jennifer Estrada
 
Jquery
JqueryJquery
Jquery
Girish Srivastava
 
jQuery - Chapter 3 - Effects
jQuery - Chapter 3 - Effects  jQuery - Chapter 3 - Effects
jQuery - Chapter 3 - Effects
WebStackAcademy
 
Javascript validating form
Javascript validating formJavascript validating form
Javascript validating form
Jesus Obenita Jr.
 
Nodejs functions & modules
Nodejs functions & modulesNodejs functions & modules
Nodejs functions & modules
monikadeshmane
 
Advanced Javascript
Advanced JavascriptAdvanced Javascript
Advanced Javascript
Adieu
 
JavaScript - Chapter 3 - Introduction
 JavaScript - Chapter 3 - Introduction JavaScript - Chapter 3 - Introduction
JavaScript - Chapter 3 - Introduction
WebStackAcademy
 
JavaScript - Chapter 11 - Events
 JavaScript - Chapter 11 - Events  JavaScript - Chapter 11 - Events
JavaScript - Chapter 11 - Events
WebStackAcademy
 
JavaScript - Chapter 8 - Objects
 JavaScript - Chapter 8 - Objects JavaScript - Chapter 8 - Objects
JavaScript - Chapter 8 - Objects
WebStackAcademy
 
JavaScript: Events Handling
JavaScript: Events HandlingJavaScript: Events Handling
JavaScript: Events Handling
Yuriy Bezgachnyuk
 
ES6 presentation
ES6 presentationES6 presentation
ES6 presentation
ritika1
 
Object Oriented Javascript
Object Oriented JavascriptObject Oriented Javascript
Object Oriented Javascript
NexThoughts Technologies
 
JavaScript
JavaScriptJavaScript
JavaScript
Vidyut Singhania
 
ES2015 / ES6: Basics of modern Javascript
ES2015 / ES6: Basics of modern JavascriptES2015 / ES6: Basics of modern Javascript
ES2015 / ES6: Basics of modern Javascript
Wojciech Dzikowski
 
JavaScript Tutorial
JavaScript  TutorialJavaScript  Tutorial
JavaScript Tutorial
Bui Kiet
 
JavaScript - Chapter 10 - Strings and Arrays
 JavaScript - Chapter 10 - Strings and Arrays JavaScript - Chapter 10 - Strings and Arrays
JavaScript - Chapter 10 - Strings and Arrays
WebStackAcademy
 
Angular - Chapter 7 - HTTP Services
Angular - Chapter 7 - HTTP ServicesAngular - Chapter 7 - HTTP Services
Angular - Chapter 7 - HTTP Services
WebStackAcademy
 
Introduction to Javascript
Introduction to JavascriptIntroduction to Javascript
Introduction to Javascript
Amit Tyagi
 
JavaScript Programming
JavaScript ProgrammingJavaScript Programming
JavaScript Programming
Sehwan Noh
 
jQuery - Chapter 3 - Effects
jQuery - Chapter 3 - Effects  jQuery - Chapter 3 - Effects
jQuery - Chapter 3 - Effects
WebStackAcademy
 
Nodejs functions & modules
Nodejs functions & modulesNodejs functions & modules
Nodejs functions & modules
monikadeshmane
 
Advanced Javascript
Advanced JavascriptAdvanced Javascript
Advanced Javascript
Adieu
 
JavaScript - Chapter 3 - Introduction
 JavaScript - Chapter 3 - Introduction JavaScript - Chapter 3 - Introduction
JavaScript - Chapter 3 - Introduction
WebStackAcademy
 
JavaScript - Chapter 11 - Events
 JavaScript - Chapter 11 - Events  JavaScript - Chapter 11 - Events
JavaScript - Chapter 11 - Events
WebStackAcademy
 
JavaScript - Chapter 8 - Objects
 JavaScript - Chapter 8 - Objects JavaScript - Chapter 8 - Objects
JavaScript - Chapter 8 - Objects
WebStackAcademy
 
ES6 presentation
ES6 presentationES6 presentation
ES6 presentation
ritika1
 
ES2015 / ES6: Basics of modern Javascript
ES2015 / ES6: Basics of modern JavascriptES2015 / ES6: Basics of modern Javascript
ES2015 / ES6: Basics of modern Javascript
Wojciech Dzikowski
 
JavaScript Tutorial
JavaScript  TutorialJavaScript  Tutorial
JavaScript Tutorial
Bui Kiet
 

Similar to JavaScript - Chapter 7 - Advanced Functions (20)

How AngularJS Embraced Traditional Design Patterns
How AngularJS Embraced Traditional Design PatternsHow AngularJS Embraced Traditional Design Patterns
How AngularJS Embraced Traditional Design Patterns
Ran Mizrahi
 
Wt unit 5
Wt unit 5Wt unit 5
Wt unit 5
team11vgnt
 
[2015/2016] JavaScript
[2015/2016] JavaScript[2015/2016] JavaScript
[2015/2016] JavaScript
Ivano Malavolta
 
TypeScript for Java Developers
TypeScript for Java DevelopersTypeScript for Java Developers
TypeScript for Java Developers
Yakov Fain
 
Java script
Java scriptJava script
Java script
Ramesh Kumar
 
JavaScript Growing Up
JavaScript Growing UpJavaScript Growing Up
JavaScript Growing Up
David Padbury
 
Javascript
JavascriptJavascript
Javascript
20261A05H0SRIKAKULAS
 
How and why i roll my own node.js framework
How and why i roll my own node.js frameworkHow and why i roll my own node.js framework
How and why i roll my own node.js framework
Ben Lin
 
JavaScript
JavaScriptJavaScript
JavaScript
Ivano Malavolta
 
Javascript
JavascriptJavascript
Javascript
Adil Jafri
 
Intro To JavaScript Unit Testing - Ran Mizrahi
Intro To JavaScript Unit Testing - Ran MizrahiIntro To JavaScript Unit Testing - Ran Mizrahi
Intro To JavaScript Unit Testing - Ran Mizrahi
Ran Mizrahi
 
Angular for Java Enterprise Developers: Oracle Code One 2018
Angular for Java Enterprise Developers: Oracle Code One 2018Angular for Java Enterprise Developers: Oracle Code One 2018
Angular for Java Enterprise Developers: Oracle Code One 2018
Loiane Groner
 
27javascript
27javascript27javascript
27javascript
Adil Jafri
 
Douglas Crockford: Serversideness
Douglas Crockford: ServersidenessDouglas Crockford: Serversideness
Douglas Crockford: Serversideness
WebExpo
 
JavaScript_III.pptx
JavaScript_III.pptxJavaScript_III.pptx
JavaScript_III.pptx
rashmiisrani1
 
Bonnes pratiques de développement avec Node js
Bonnes pratiques de développement avec Node jsBonnes pratiques de développement avec Node js
Bonnes pratiques de développement avec Node js
Francois Zaninotto
 
JS Essence
JS EssenceJS Essence
JS Essence
Uladzimir Piatryka
 
JavaScript for real men
JavaScript for real menJavaScript for real men
JavaScript for real men
Ivano Malavolta
 
Basics of AngularJS
Basics of AngularJSBasics of AngularJS
Basics of AngularJS
Filip Janevski
 
Quick tour to front end unit testing using jasmine
Quick tour to front end unit testing using jasmineQuick tour to front end unit testing using jasmine
Quick tour to front end unit testing using jasmine
Gil Fink
 
How AngularJS Embraced Traditional Design Patterns
How AngularJS Embraced Traditional Design PatternsHow AngularJS Embraced Traditional Design Patterns
How AngularJS Embraced Traditional Design Patterns
Ran Mizrahi
 
TypeScript for Java Developers
TypeScript for Java DevelopersTypeScript for Java Developers
TypeScript for Java Developers
Yakov Fain
 
JavaScript Growing Up
JavaScript Growing UpJavaScript Growing Up
JavaScript Growing Up
David Padbury
 
How and why i roll my own node.js framework
How and why i roll my own node.js frameworkHow and why i roll my own node.js framework
How and why i roll my own node.js framework
Ben Lin
 
Intro To JavaScript Unit Testing - Ran Mizrahi
Intro To JavaScript Unit Testing - Ran MizrahiIntro To JavaScript Unit Testing - Ran Mizrahi
Intro To JavaScript Unit Testing - Ran Mizrahi
Ran Mizrahi
 
Angular for Java Enterprise Developers: Oracle Code One 2018
Angular for Java Enterprise Developers: Oracle Code One 2018Angular for Java Enterprise Developers: Oracle Code One 2018
Angular for Java Enterprise Developers: Oracle Code One 2018
Loiane Groner
 
Douglas Crockford: Serversideness
Douglas Crockford: ServersidenessDouglas Crockford: Serversideness
Douglas Crockford: Serversideness
WebExpo
 
Bonnes pratiques de développement avec Node js
Bonnes pratiques de développement avec Node jsBonnes pratiques de développement avec Node js
Bonnes pratiques de développement avec Node js
Francois Zaninotto
 
Quick tour to front end unit testing using jasmine
Quick tour to front end unit testing using jasmineQuick tour to front end unit testing using jasmine
Quick tour to front end unit testing using jasmine
Gil Fink
 
Ad

More from WebStackAcademy (20)

Webstack Academy - Course Demo Webinar and Placement Journey
Webstack Academy - Course Demo Webinar and Placement JourneyWebstack Academy - Course Demo Webinar and Placement Journey
Webstack Academy - Course Demo Webinar and Placement Journey
WebStackAcademy
 
WSA: Scaling Web Service to Handle Millions of Requests per Second
WSA: Scaling Web Service to Handle Millions of Requests per SecondWSA: Scaling Web Service to Handle Millions of Requests per Second
WSA: Scaling Web Service to Handle Millions of Requests per Second
WebStackAcademy
 
WSA: Course Demo Webinar - Full Stack Developer Course
WSA: Course Demo Webinar - Full Stack Developer CourseWSA: Course Demo Webinar - Full Stack Developer Course
WSA: Course Demo Webinar - Full Stack Developer Course
WebStackAcademy
 
Career Building in AI - Technologies, Trends and Opportunities
Career Building in AI - Technologies, Trends and OpportunitiesCareer Building in AI - Technologies, Trends and Opportunities
Career Building in AI - Technologies, Trends and Opportunities
WebStackAcademy
 
Webstack Academy - Internship Kick Off
Webstack Academy - Internship Kick OffWebstack Academy - Internship Kick Off
Webstack Academy - Internship Kick Off
WebStackAcademy
 
Building Your Online Portfolio
Building Your Online PortfolioBuilding Your Online Portfolio
Building Your Online Portfolio
WebStackAcademy
 
Front-End Developer's Career Roadmap
Front-End Developer's Career RoadmapFront-End Developer's Career Roadmap
Front-End Developer's Career Roadmap
WebStackAcademy
 
Angular - Chapter 9 - Authentication and Authorization
Angular - Chapter 9 - Authentication and AuthorizationAngular - Chapter 9 - Authentication and Authorization
Angular - Chapter 9 - Authentication and Authorization
WebStackAcademy
 
Angular - Chapter 6 - Firebase Integration
Angular - Chapter 6 - Firebase IntegrationAngular - Chapter 6 - Firebase Integration
Angular - Chapter 6 - Firebase Integration
WebStackAcademy
 
Angular - Chapter 5 - Directives
 Angular - Chapter 5 - Directives Angular - Chapter 5 - Directives
Angular - Chapter 5 - Directives
WebStackAcademy
 
Angular - Chapter 4 - Data and Event Handling
 Angular - Chapter 4 - Data and Event Handling Angular - Chapter 4 - Data and Event Handling
Angular - Chapter 4 - Data and Event Handling
WebStackAcademy
 
Angular - Chapter 3 - Components
Angular - Chapter 3 - ComponentsAngular - Chapter 3 - Components
Angular - Chapter 3 - Components
WebStackAcademy
 
Angular - Chapter 2 - TypeScript Programming
Angular - Chapter 2 - TypeScript Programming  Angular - Chapter 2 - TypeScript Programming
Angular - Chapter 2 - TypeScript Programming
WebStackAcademy
 
Angular - Chapter 1 - Introduction
 Angular - Chapter 1 - Introduction Angular - Chapter 1 - Introduction
Angular - Chapter 1 - Introduction
WebStackAcademy
 
JavaScript - Chapter 15 - Debugging Techniques
 JavaScript - Chapter 15 - Debugging Techniques JavaScript - Chapter 15 - Debugging Techniques
JavaScript - Chapter 15 - Debugging Techniques
WebStackAcademy
 
JavaScript - Chapter 14 - Form Handling
 JavaScript - Chapter 14 - Form Handling   JavaScript - Chapter 14 - Form Handling
JavaScript - Chapter 14 - Form Handling
WebStackAcademy
 
JavaScript - Chapter 13 - Browser Object Model(BOM)
JavaScript - Chapter 13 - Browser Object Model(BOM)JavaScript - Chapter 13 - Browser Object Model(BOM)
JavaScript - Chapter 13 - Browser Object Model(BOM)
WebStackAcademy
 
JavaScript - Chapter 12 - Document Object Model
  JavaScript - Chapter 12 - Document Object Model  JavaScript - Chapter 12 - Document Object Model
JavaScript - Chapter 12 - Document Object Model
WebStackAcademy
 
JavaScript - Chapter 1 - Problem Solving
 JavaScript - Chapter 1 - Problem Solving JavaScript - Chapter 1 - Problem Solving
JavaScript - Chapter 1 - Problem Solving
WebStackAcademy
 
jQuery - Chapter 4 - DOM Handling
jQuery - Chapter 4 - DOM Handling jQuery - Chapter 4 - DOM Handling
jQuery - Chapter 4 - DOM Handling
WebStackAcademy
 
Webstack Academy - Course Demo Webinar and Placement Journey
Webstack Academy - Course Demo Webinar and Placement JourneyWebstack Academy - Course Demo Webinar and Placement Journey
Webstack Academy - Course Demo Webinar and Placement Journey
WebStackAcademy
 
WSA: Scaling Web Service to Handle Millions of Requests per Second
WSA: Scaling Web Service to Handle Millions of Requests per SecondWSA: Scaling Web Service to Handle Millions of Requests per Second
WSA: Scaling Web Service to Handle Millions of Requests per Second
WebStackAcademy
 
WSA: Course Demo Webinar - Full Stack Developer Course
WSA: Course Demo Webinar - Full Stack Developer CourseWSA: Course Demo Webinar - Full Stack Developer Course
WSA: Course Demo Webinar - Full Stack Developer Course
WebStackAcademy
 
Career Building in AI - Technologies, Trends and Opportunities
Career Building in AI - Technologies, Trends and OpportunitiesCareer Building in AI - Technologies, Trends and Opportunities
Career Building in AI - Technologies, Trends and Opportunities
WebStackAcademy
 
Webstack Academy - Internship Kick Off
Webstack Academy - Internship Kick OffWebstack Academy - Internship Kick Off
Webstack Academy - Internship Kick Off
WebStackAcademy
 
Building Your Online Portfolio
Building Your Online PortfolioBuilding Your Online Portfolio
Building Your Online Portfolio
WebStackAcademy
 
Front-End Developer's Career Roadmap
Front-End Developer's Career RoadmapFront-End Developer's Career Roadmap
Front-End Developer's Career Roadmap
WebStackAcademy
 
Angular - Chapter 9 - Authentication and Authorization
Angular - Chapter 9 - Authentication and AuthorizationAngular - Chapter 9 - Authentication and Authorization
Angular - Chapter 9 - Authentication and Authorization
WebStackAcademy
 
Angular - Chapter 6 - Firebase Integration
Angular - Chapter 6 - Firebase IntegrationAngular - Chapter 6 - Firebase Integration
Angular - Chapter 6 - Firebase Integration
WebStackAcademy
 
Angular - Chapter 5 - Directives
 Angular - Chapter 5 - Directives Angular - Chapter 5 - Directives
Angular - Chapter 5 - Directives
WebStackAcademy
 
Angular - Chapter 4 - Data and Event Handling
 Angular - Chapter 4 - Data and Event Handling Angular - Chapter 4 - Data and Event Handling
Angular - Chapter 4 - Data and Event Handling
WebStackAcademy
 
Angular - Chapter 3 - Components
Angular - Chapter 3 - ComponentsAngular - Chapter 3 - Components
Angular - Chapter 3 - Components
WebStackAcademy
 
Angular - Chapter 2 - TypeScript Programming
Angular - Chapter 2 - TypeScript Programming  Angular - Chapter 2 - TypeScript Programming
Angular - Chapter 2 - TypeScript Programming
WebStackAcademy
 
Angular - Chapter 1 - Introduction
 Angular - Chapter 1 - Introduction Angular - Chapter 1 - Introduction
Angular - Chapter 1 - Introduction
WebStackAcademy
 
JavaScript - Chapter 15 - Debugging Techniques
 JavaScript - Chapter 15 - Debugging Techniques JavaScript - Chapter 15 - Debugging Techniques
JavaScript - Chapter 15 - Debugging Techniques
WebStackAcademy
 
JavaScript - Chapter 14 - Form Handling
 JavaScript - Chapter 14 - Form Handling   JavaScript - Chapter 14 - Form Handling
JavaScript - Chapter 14 - Form Handling
WebStackAcademy
 
JavaScript - Chapter 13 - Browser Object Model(BOM)
JavaScript - Chapter 13 - Browser Object Model(BOM)JavaScript - Chapter 13 - Browser Object Model(BOM)
JavaScript - Chapter 13 - Browser Object Model(BOM)
WebStackAcademy
 
JavaScript - Chapter 12 - Document Object Model
  JavaScript - Chapter 12 - Document Object Model  JavaScript - Chapter 12 - Document Object Model
JavaScript - Chapter 12 - Document Object Model
WebStackAcademy
 
JavaScript - Chapter 1 - Problem Solving
 JavaScript - Chapter 1 - Problem Solving JavaScript - Chapter 1 - Problem Solving
JavaScript - Chapter 1 - Problem Solving
WebStackAcademy
 
jQuery - Chapter 4 - DOM Handling
jQuery - Chapter 4 - DOM Handling jQuery - Chapter 4 - DOM Handling
jQuery - Chapter 4 - DOM Handling
WebStackAcademy
 
Ad

Recently uploaded (20)

Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptxReimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
John Moore
 
fennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solutionfennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solution
shallal2
 
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Safe Software
 
Agentic Automation - Delhi UiPath Community Meetup
Agentic Automation - Delhi UiPath Community MeetupAgentic Automation - Delhi UiPath Community Meetup
Agentic Automation - Delhi UiPath Community Meetup
Manoj Batra (1600 + Connections)
 
Transcript: Canadian book publishing: Insights from the latest salary survey ...
Transcript: Canadian book publishing: Insights from the latest salary survey ...Transcript: Canadian book publishing: Insights from the latest salary survey ...
Transcript: Canadian book publishing: Insights from the latest salary survey ...
BookNet Canada
 
GyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
GyrusAI - Broadcasting & Streaming Applications Driven by AI and MLGyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
GyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
Gyrus AI
 
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptxSmart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Seasia Infotech
 
Financial Services Technology Summit 2025
Financial Services Technology Summit 2025Financial Services Technology Summit 2025
Financial Services Technology Summit 2025
Ray Bugg
 
Slack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teamsSlack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teams
Nacho Cougil
 
Shoehorning dependency injection into a FP language, what does it take?
Shoehorning dependency injection into a FP language, what does it take?Shoehorning dependency injection into a FP language, what does it take?
Shoehorning dependency injection into a FP language, what does it take?
Eric Torreborre
 
Design pattern talk by Kaya Weers - 2025 (v2)
Design pattern talk by Kaya Weers - 2025 (v2)Design pattern talk by Kaya Weers - 2025 (v2)
Design pattern talk by Kaya Weers - 2025 (v2)
Kaya Weers
 
Canadian book publishing: Insights from the latest salary survey - Tech Forum...
Canadian book publishing: Insights from the latest salary survey - Tech Forum...Canadian book publishing: Insights from the latest salary survey - Tech Forum...
Canadian book publishing: Insights from the latest salary survey - Tech Forum...
BookNet Canada
 
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Cyntexa
 
The Future of Cisco Cloud Security: Innovations and AI Integration
The Future of Cisco Cloud Security: Innovations and AI IntegrationThe Future of Cisco Cloud Security: Innovations and AI Integration
The Future of Cisco Cloud Security: Innovations and AI Integration
Re-solution Data Ltd
 
IT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information TechnologyIT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information Technology
SHEHABALYAMANI
 
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz
 
UiPath Automation Suite – Cas d'usage d'une NGO internationale basée à Genève
UiPath Automation Suite – Cas d'usage d'une NGO internationale basée à GenèveUiPath Automation Suite – Cas d'usage d'une NGO internationale basée à Genève
UiPath Automation Suite – Cas d'usage d'une NGO internationale basée à Genève
UiPathCommunity
 
Mastering Testing in the Modern F&B Landscape
Mastering Testing in the Modern F&B LandscapeMastering Testing in the Modern F&B Landscape
Mastering Testing in the Modern F&B Landscape
marketing943205
 
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
Lorenzo Miniero
 
Config 2025 presentation recap covering both days
Config 2025 presentation recap covering both daysConfig 2025 presentation recap covering both days
Config 2025 presentation recap covering both days
TrishAntoni1
 
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptxReimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
John Moore
 
fennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solutionfennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solution
shallal2
 
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Safe Software
 
Transcript: Canadian book publishing: Insights from the latest salary survey ...
Transcript: Canadian book publishing: Insights from the latest salary survey ...Transcript: Canadian book publishing: Insights from the latest salary survey ...
Transcript: Canadian book publishing: Insights from the latest salary survey ...
BookNet Canada
 
GyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
GyrusAI - Broadcasting & Streaming Applications Driven by AI and MLGyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
GyrusAI - Broadcasting & Streaming Applications Driven by AI and ML
Gyrus AI
 
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptxSmart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Seasia Infotech
 
Financial Services Technology Summit 2025
Financial Services Technology Summit 2025Financial Services Technology Summit 2025
Financial Services Technology Summit 2025
Ray Bugg
 
Slack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teamsSlack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teams
Nacho Cougil
 
Shoehorning dependency injection into a FP language, what does it take?
Shoehorning dependency injection into a FP language, what does it take?Shoehorning dependency injection into a FP language, what does it take?
Shoehorning dependency injection into a FP language, what does it take?
Eric Torreborre
 
Design pattern talk by Kaya Weers - 2025 (v2)
Design pattern talk by Kaya Weers - 2025 (v2)Design pattern talk by Kaya Weers - 2025 (v2)
Design pattern talk by Kaya Weers - 2025 (v2)
Kaya Weers
 
Canadian book publishing: Insights from the latest salary survey - Tech Forum...
Canadian book publishing: Insights from the latest salary survey - Tech Forum...Canadian book publishing: Insights from the latest salary survey - Tech Forum...
Canadian book publishing: Insights from the latest salary survey - Tech Forum...
BookNet Canada
 
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Cyntexa
 
The Future of Cisco Cloud Security: Innovations and AI Integration
The Future of Cisco Cloud Security: Innovations and AI IntegrationThe Future of Cisco Cloud Security: Innovations and AI Integration
The Future of Cisco Cloud Security: Innovations and AI Integration
Re-solution Data Ltd
 
IT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information TechnologyIT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information Technology
SHEHABALYAMANI
 
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz
 
UiPath Automation Suite – Cas d'usage d'une NGO internationale basée à Genève
UiPath Automation Suite – Cas d'usage d'une NGO internationale basée à GenèveUiPath Automation Suite – Cas d'usage d'une NGO internationale basée à Genève
UiPath Automation Suite – Cas d'usage d'une NGO internationale basée à Genève
UiPathCommunity
 
Mastering Testing in the Modern F&B Landscape
Mastering Testing in the Modern F&B LandscapeMastering Testing in the Modern F&B Landscape
Mastering Testing in the Modern F&B Landscape
marketing943205
 
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
Lorenzo Miniero
 
Config 2025 presentation recap covering both days
Config 2025 presentation recap covering both daysConfig 2025 presentation recap covering both days
Config 2025 presentation recap covering both days
TrishAntoni1
 

JavaScript - Chapter 7 - Advanced Functions

  翻译: