|
@@ -1117,8 +1117,7 @@ JS_DEFINE_NATIVE_FUNCTION(ZonedDateTimePrototype::round)
|
|
|
// b. Set roundTo to ! OrdinaryObjectCreate(null).
|
|
|
round_to = Object::create(global_object, nullptr);
|
|
|
|
|
|
- // FIXME: "_smallestUnit_" is a spec bug, see https://github.com/tc39/proposal-temporal/pull/1931
|
|
|
- // c. Perform ! CreateDataPropertyOrThrow(roundTo, "_smallestUnit_", paramString).
|
|
|
+ // c. Perform ! CreateDataPropertyOrThrow(roundTo, "smallestUnit", paramString).
|
|
|
MUST(round_to->create_data_property_or_throw(vm.names.smallestUnit, vm.argument(0)));
|
|
|
}
|
|
|
// 5. Else,
|