Skip to content

Commit 6fac2c7

Browse files
committed
2 parents 7754406 + 6a89746 commit 6fac2c7

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

crates/jsshaker/src/builtins/globals/array_constructor.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ impl<'a> Builtins<'a> {
99
pub fn init_array_constructor(&mut self) {
1010
let factory = self.factory;
1111

12-
let statics =
13-
factory.builtin_object(ObjectPrototype::Builtin(&self.prototypes.function));
12+
let statics = factory.builtin_object(ObjectPrototype::Builtin(&self.prototypes.function));
1413
statics.init_rest(factory, ObjectPropertyValue::Field(factory.unknown, true));
1514

1615
init_object!(statics, factory, {

crates/jsshaker/src/builtins/globals/date_constructor.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ impl Builtins<'_> {
88
pub fn init_date_constructor(&mut self) {
99
let factory = self.factory;
1010

11-
let statics =
12-
factory.builtin_object(ObjectPrototype::Builtin(&self.prototypes.function));
11+
let statics = factory.builtin_object(ObjectPrototype::Builtin(&self.prototypes.function));
1312
statics.init_rest(factory, ObjectPropertyValue::Field(factory.unknown, true));
1413

1514
init_object!(statics, factory, {

crates/jsshaker/src/builtins/globals/symbol_constructor.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ impl Builtins<'_> {
88
pub fn init_symbol_constructor(&mut self) {
99
let factory = self.factory;
1010

11-
let statics =
12-
factory.builtin_object(ObjectPrototype::Builtin(&self.prototypes.function));
11+
let statics = factory.builtin_object(ObjectPrototype::Builtin(&self.prototypes.function));
1312
statics.init_rest(factory, ObjectPropertyValue::Field(factory.unknown, true));
1413

1514
init_object!(statics, factory, {

0 commit comments

Comments
 (0)