FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
mathjs/src/expression/function/eval.js at develop · rpeg/mathjs · GitHub
rpeg
/
mathjs
Public
forked from
josdejong/mathjs
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
mathjs
/
src
/
expression
/
function
/
eval.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
11 lines (9 loc) · 463 Bytes
Breadcrumbs
mathjs
/
src
/
expression
/
function
/
eval.js
Copy path
File metadata and controls
11 lines (9 loc) · 463 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
// For backward compatibility, deprecated since version 6.0.0. Date: 2018-12-05
import
{
factory
}
from
'../../utils/factory'
import
{
warnOnce
}
from
'../../utils/log'
export
const
createDeprecatedEval
=
/* #__PURE__ */
factory
(
'eval'
,
[
'evaluate'
]
,
(
{
evaluate
}
)
=>
{
return
function
(
...
args
)
{
warnOnce
(
'Function "eval" has been renamed to "evaluate" in v6.0.0, please use the new function instead.'
)
return
evaluate
.
apply
(
evaluate
,
args
)
}
}
)
Back
|
FazBrowse Home
|
New Git URL