FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
javascript-patterns/function-patterns/self-overwrite.html at master · armoucar/javascript-patterns · GitHub
armoucar
javascript-patterns
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
javascript-patterns
/
function-patterns
/
self-overwrite.html
Copy path
More file actions
More file actions
Latest commit
History
History
History
21 lines (20 loc) · 334 Bytes
Breadcrumbs
javascript-patterns
/
function-patterns
/
self-overwrite.html
Copy path
File metadata and controls
21 lines (20 loc) · 334 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!doctype html
>
<
html
lang
="
en
"
>
<
head
>
<
title
>
JavaScript Patterns
</
title
>
<
meta
charset
="
utf-8
"
>
</
head
>
<
body
>
<
script
>
function
next
(
)
{
var
count
=
1
;
next
=
function
(
)
{
return
++
count
;
}
;
return
count
;
}
console
.
log
(
next
(
)
)
;
// 1
console
.
log
(
next
(
)
)
;
// 2
</
script
>
</
body
>
</
html
>
Back
|
FazBrowse Home
|
New Git URL