File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ namespace Js
120
120
{
121
121
if (args.HasNewTarget ())
122
122
{
123
- // target has an overriden new target make a new object from the newTarget
123
+ // target has an overridden new target make a new object from the newTarget
124
124
Var newTargetVar = args.GetNewTarget ();
125
125
AssertOrFailFastMsg (JavascriptOperators::IsConstructor (newTargetVar), " newTarget must be a constructor" );
126
126
RecyclableObject* newTarget = UnsafeVarTo<RecyclableObject>(newTargetVar);
@@ -150,7 +150,7 @@ namespace Js
150
150
}
151
151
else
152
152
{
153
- // target is a proxy without an overriden new target
153
+ // target is a proxy without an overridden new target
154
154
// give nullptr - FunctionCallTrap will make a new object
155
155
args.Values [0 ] = newVarInstance;
156
156
}
You can’t perform that action at this time.
0 commit comments