Skip to content

Commit

Permalink
docs: Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
raon0211 committed Nov 22, 2024
1 parent 54858f9 commit 3c29e70
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 12 deletions.
3 changes: 2 additions & 1 deletion docs/ja/reference/compat/object/assignIn.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@

`es-toolkit/compat` からこの関数をインポートすると、[lodash と完全に同じように動作](../../../compatibility.md)します。
:::

`source`が持っているプロパティの値を`object`オブジェクトに割り当てます。プロトタイプから継承されたプロパティも含まれます。

`source``target`が同じ値を持っているプロパティは上書きされません。
`source``object`が同じ値を持っているプロパティは上書きされません。

## インターフェース

Expand Down
2 changes: 1 addition & 1 deletion docs/ja/reference/compat/object/extend.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

`source`が持っているプロパティの値を`object`オブジェクトに割り当てます。プロトタイプから継承されたプロパティも含まれます。

`source``target`が同じ値を持っているプロパティは上書きされません。
`source``object`が同じ値を持っているプロパティは上書きされません。

[assignIn](./assignIn.md)の別名です。

Expand Down
4 changes: 2 additions & 2 deletions docs/ko/reference/compat/object/assignIn.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
`es-toolkit/compat`에서 이 함수를 가져오면, [lodash와 완전히 똑같이 동작](../../../compatibility.md)해요.
:::

`source` 가지고 있는 프로퍼티 값들을 `object` 객체에 할당해요. 프로토타입에서 상속된 프로퍼티도 포함돼요.
`source` 객체가 가지고 있는 프로퍼티 값들을 `object` 객체에 할당해요. 프로토타입에서 상속된 프로퍼티도 포함돼요.

`source``target`이 같은 값으로 가지고 있는 프로퍼티는 덮어쓰지 않아요.
`source``object`이 같은 값으로 가지고 있는 프로퍼티는 덮어쓰지 않아요.

## 인터페이스

Expand Down
4 changes: 2 additions & 2 deletions docs/ko/reference/compat/object/extend.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
`es-toolkit/compat`에서 이 함수를 가져오면, [lodash와 완전히 똑같이 동작](../../../compatibility.md)해요.
:::

`source` 가지고 있는 프로퍼티 값들을 `object` 객체에 할당해요. 프로토타입에서 상속된 프로퍼티도 포함돼요.
`source` 객체가 가지고 있는 프로퍼티 값들을 `object` 객체에 할당해요. 프로토타입에서 상속된 프로퍼티도 포함돼요.

`source``target`이 같은 값으로 가지고 있는 프로퍼티는 덮어쓰지 않아요.
`source``object`이 같은 값으로 가지고 있는 프로퍼티는 덮어쓰지 않아요.

[assignIn](./assignIn.md)의 다른 이름이에요.

Expand Down
4 changes: 2 additions & 2 deletions docs/reference/compat/object/assignIn.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ This function is only available in `es-toolkit/compat` for compatibility reasons
When imported from `es-toolkit/compat`, it behaves exactly like lodash and provides the same functionalities, as detailed [here](../../../compatibility.md).
:::

Assigns the property values from the `source` object to the `object`. It also includes properties inherited from the prototype chain.
Assigns the property values from the `source` object to the `object` object. It also includes properties inherited from the prototype chain.

Properties that have the same value in both `source` and `target` will not be overwritten.
Properties that have the same value in both `source` and `object` will not be overwritten.

## Signature

Expand Down
4 changes: 2 additions & 2 deletions docs/reference/compat/object/extend.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ This function is only available in `es-toolkit/compat` for compatibility reasons
When imported from `es-toolkit/compat`, it behaves exactly like lodash and provides the same functionalities, as detailed [here](../../../compatibility.md).
:::

Assigns the property values from the `source` object to the `object`. It also includes properties inherited from the prototype chain.
Assigns the property values from the `source` object to the `object` object. It also includes properties inherited from the prototype chain.

Properties that have the same value in both `source` and `target` will not be overwritten.
Properties that have the same value in both `source` and `object` will not be overwritten.

It is an alias of [assignIn](./assignIn.md).

Expand Down
2 changes: 1 addition & 1 deletion docs/zh_hans/reference/compat/object/assignIn.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

`source` 对象的属性值分配给 `object`。它还包括从原型链继承的属性。

`source``target` 中具有相同值的属性将不会被覆盖。
`source``object` 中具有相同值的属性将不会被覆盖。

## 签名

Expand Down
2 changes: 1 addition & 1 deletion docs/zh_hans/reference/compat/object/extend.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

`source` 对象的属性值分配给 `object`。它还包括从原型链继承的属性。

`source``target` 中具有相同值的属性将不会被覆盖。
`source``object` 中具有相同值的属性将不会被覆盖。

它是 [assignIn](./assignIn.md) 的别名。

Expand Down

0 comments on commit 3c29e70

Please sign in to comment.