Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 6714be6

Browse files
wkwiatekvicb
authored andcommitted
fix(keys): Symbol is being checked for type of function
1 parent 19703e3 commit 6714be6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/keys.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*/
55
var create;
66

7-
if (typeof Symbol !== 'undefined') {
7+
if (typeof Symbol === 'function') {
88
create = function (name) {
99
return Symbol(name);
1010
}

0 commit comments

Comments
 (0)