Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/image/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 符号是什么<;和/意味着在这个Firefox堆栈跟踪中?_Javascript_Debugging_Firefox_Stack Trace - Fatal编程技术网

Javascript 符号是什么<;和/意味着在这个Firefox堆栈跟踪中?

Javascript 符号是什么<;和/意味着在这个Firefox堆栈跟踪中?,javascript,debugging,firefox,stack-trace,Javascript,Debugging,Firefox,Stack Trace,我在Firefox中抛出了一个JavaScript错误,但在Chrome中没有。Firefox开发工具控制台窗口中的堆栈跟踪如下所示。例外情况发生在 我想知道符号您是否看到符号/和 TypeError: a is null p</G() p</Y() p</$() M</f/this.normalize/a() M</f/this.normalize() U/this.currentStyle() ... f

我在Firefox中抛出了一个JavaScript错误,但在Chrome中没有。Firefox开发工具控制台窗口中的堆栈跟踪如下所示。例外情况发生在


我想知道符号
您是否看到符号
/

TypeError: a is null
    p</G()
    p</Y()
    p</$()
    M</f/this.normalize/a()
    M</f/this.normalize()
    U/this.currentStyle()
    ...
function fn1() {
    function fn2() {
        // At this line the stack trace in Firefox will look like:
        // fn1/fn2@file.js - function fn2, which is nested in fn1
        // fn1@file.js     - called from function fn1
        // @file.js        - called from global code
    }
}

fn1();
const sum = (a, b) => a + b;
// The arrow function will be named as "sum"

const sum = numbers.reduce((a, b) => a + b);
// The arrow function will be named as "sum<"
// This means "a helper function used in computing sum"
const fn1 = (function(fn) {
    return function() {
        fn();
    }
}(function() {
    // At this line the stack trace in Firefox will look like:
    // fn1<@file.js - anonymous function from a closure in function fn1
    // fn1@file.js  - called from function fn1
    // @file.js     - called from global code
}));

fn1();
function f() {
    var filtered = data.filter(function () {
        // The name for this function is "f/filtered<"
    });

    filtered.forEach(function() {
        // The name for this function is "f/<"
    });
}