Skip to content
Permalink
Browse files
Simplify hasFunctionNameSupport
  • Loading branch information
mroderick committed Jan 8, 2018
1 parent 85e3f91 commit a1aced01b797828d813baaa82bff3203c7160a9e
Showing 1 changed file with 1 addition and 1 deletion.
@@ -30,7 +30,7 @@ function verifyProxy(func, argument) {

function noop() {}

var hasFunctionNameSupport = typeof noop.name !== "undefined";
var hasFunctionNameSupport = noop.name === "noop";

describe("fake", function () {
describe("module", function () {

0 comments on commit a1aced0

Please sign in to comment.