FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Function/JavaScript/3-abstraction.js at master · web-dev-lib/Function · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
web-dev-lib
/
Function
Public
forked from
HowProgrammingWorks/Function
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Function
/
JavaScript
/
3-abstraction.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
11 lines (8 loc) · 207 Bytes
Breadcrumbs
Function
/
JavaScript
/
3-abstraction.js
Copy path
File metadata and controls
11 lines (8 loc) · 207 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
'use strict'
;
const
power
=
Math
.
pow
;
const
square
=
x
=>
power
(
x
,
2
)
;
const
cube
=
x
=>
power
(
x
,
3
)
;
console
.
log
(
power
(
10
,
2
)
)
;
console
.
log
(
square
(
10
)
)
;
console
.
log
(
power
(
10
,
3
)
)
;
console
.
log
(
cube
(
10
)
)
;
Back
|
FazBrowse Home
|
New Git URL