Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
caridy committed Mar 17, 2020
1 parent 1259e38 commit dd82723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/secure-value.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const serializedSecureEnvSourceText = (function secureEnvFactory(rawEnv:
// `typeof document.all === 'undefined'`, which is an exotic object with
// a bizarre behavior described here:
// * https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
// This check cover that case, but doesn't affect other unidefined values
// This check covers that case, but doesn't affect other undefined values
// because those are covered by the previous condition anyways.
if (t === 'function' || t === 'undefined') {
return getSecureFunction(raw);
Expand Down

0 comments on commit dd82723

Please sign in to comment.