Skip to content

Commit

Permalink
Apply review
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 committed Sep 25, 2023
1 parent 941a632 commit 48b7d04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boa_engine/src/builtins/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ pub(crate) fn get_options_object(options: &JsValue) -> JsResult<JsObject> {
// If options is undefined, then
JsValue::Undefined => {
// a. Return OrdinaryObjectCreate(null).
Ok(JsObject::from_proto_and_data(None, ObjectData::ordinary()))
Ok(JsObject::with_null_proto())
}
// 2. If Type(options) is Object, then
JsValue::Object(obj) => {
Expand Down

0 comments on commit 48b7d04

Please sign in to comment.