Skip to content
Permalink
Browse files

ModuleEvaluation should return undefined

  • Loading branch information...
rhuanjl committed Sep 9, 2019
1 parent e79d68a commit bcde2bdafd71abff3403fda8d9107ca8f26221ed
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Runtime/Language/SourceTextModuleRecord.cpp
@@ -1103,6 +1103,7 @@ namespace Js
{
ResumeYieldData yieldData(scriptContext->GetLibrary()->GetUndefined(), nullptr);
ret = gen->CallGenerator(&yieldData, _u("Module Global"));
ret = JavascriptOperators::GetProperty(VarTo<RecyclableObject>(ret), PropertyIds::value, scriptContext);
}
END_SAFE_REENTRANT_CALL
}

0 comments on commit bcde2bd

Please sign in to comment.
You can’t perform that action at this time.