Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Simplify hasFunctionNameSupport
  • Loading branch information
mroderick committed Jan 8, 2018
1 parent 85e3f91 commit a1aced0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fake-test.js
Expand Up @@ -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 () {
Expand Down

0 comments on commit a1aced0

Please sign in to comment.