When did Firefox change its Function.prototype.toString() behaviour?

Viewed 94

Nowadays, when you call a function's .toString(), browsers return the function's original declaration.

But I remember that Firefox used to return an optimized version, eg.

function fn() {
    return 2+3;
}
fn.toString() // Used to give: function fn() {return 5;}

On which browsers is it safe to use this feature?

1 Answers
Related