Named function 'eval' not allowed in strict mode

This commit is contained in:
josdejong 2013-04-27 21:18:37 +02:00
parent fc07e50ca3
commit 2d34cb5fc0
2 changed files with 2 additions and 2 deletions

View File

@ -9495,7 +9495,7 @@ math.clone = function clone(x) {
* @param {String | Array | Matrix} expr
* @return {*} res
*/
math.eval = function eval(expr) {
math.eval = function (expr) {
if (arguments.length != 1) {
throw newArgumentsError('eval', arguments.length, 1);
}

View File

@ -8,7 +8,7 @@
* @param {String | Array | Matrix} expr
* @return {*} res
*/
math.eval = function eval(expr) {
math.eval = function (expr) {
if (arguments.length != 1) {
throw newArgumentsError('eval', arguments.length, 1);
}