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

Commit

Permalink
fix(keys): Symbol is being checked for type of function
Browse files Browse the repository at this point in the history
  • Loading branch information
wkwiatek authored and vicb committed Dec 8, 2015
1 parent 19703e3 commit 6714be6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/keys.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/
var create;

if (typeof Symbol !== 'undefined') {
if (typeof Symbol === 'function') {
create = function (name) {
return Symbol(name);
}
Expand Down

0 comments on commit 6714be6

Please sign in to comment.