Skip to content

Commit

Permalink
ModuleEvaluation should return undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
rhuanjl committed Sep 9, 2019
1 parent e79d68a commit bcde2bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Runtime/Language/SourceTextModuleRecord.cpp
Expand Up @@ -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
}
Expand Down

0 comments on commit bcde2bd

Please sign in to comment.