FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
angular2typescript/appendixa/optionalParameters.html at master · gunaphysics/angular2typescript · GitHub
gunaphysics
/
angular2typescript
Public
forked from
Farata/angular2typescript
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
angular2typescript
/
appendixa
/
optionalParameters.html
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
33 lines (19 loc) · 529 Bytes
Breadcrumbs
angular2typescript
/
appendixa
/
optionalParameters.html
Copy path
File metadata and controls
executable file
·
33 lines (19 loc) · 529 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
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html
>
<
html
>
<
head
>
<
title
>
optionalParameters.html
</
title
>
</
head
>
<
body
>
<
script
>
function
calcTaxES5
(
income
,
state
)
{
state
=
state
||
"Florida"
;
console
.
log
(
"ES5. Calclating tax for the resident of "
+
state
+
" with the income "
+
income
)
;
}
calcTaxES5
(
50000
)
;
function
calcTaxES6
(
income
,
state
=
"Florida"
)
{
console
.
log
(
"ES6. Calclating tax for the resident of "
+
state
+
" with the income "
+
income
)
;
}
calcTaxES6
(
50000
)
;
</
script
>
</
body
>
</
html
>
Back
|
FazBrowse Home
|
New Git URL