diff --git a/docs/ja/reference/array/isSubsetWith.md b/docs/ja/reference/array/isSubsetWith.md index a92ee5626..d44c4292d 100644 --- a/docs/ja/reference/array/isSubsetWith.md +++ b/docs/ja/reference/array/isSubsetWith.md @@ -27,13 +27,13 @@ const superset = [{ id: 1 }, { id: 2 }, { id: 3 }]; const subset = [{ id: 2 }, { id: 1 }]; const areItemsEqual = (a, b) => a.id === b.id; -isSubsetWith(superset1, subset1, areItemsEqual); +isSubsetWith(superset, subset, areItemsEqual); // true を返します。 const superset = [{ id: 1 }, { id: 2 }, { id: 3 }]; const subset = [{ id: 4 }]; const areItemsEqual = (a, b) => a.id === b.id; -isSubsetWith(superset2, subset2, areItemsEqual); +isSubsetWith(superset, subset, areItemsEqual); // false を返します。 ``` diff --git a/docs/ko/reference/array/isSubsetWith.md b/docs/ko/reference/array/isSubsetWith.md index a54c13b0e..33bd98389 100644 --- a/docs/ko/reference/array/isSubsetWith.md +++ b/docs/ko/reference/array/isSubsetWith.md @@ -27,13 +27,13 @@ const superset = [{ id: 1 }, { id: 2 }, { id: 3 }]; const subset = [{ id: 2 }, { id: 1 }]; const areItemsEqual = (a, b) => a.id === b.id; -isSubsetWith(superset1, subset1, areItemsEqual); +isSubsetWith(superset, subset, areItemsEqual); // true를 반환해요. const superset = [{ id: 1 }, { id: 2 }, { id: 3 }]; const subset = [{ id: 4 }]; const areItemsEqual = (a, b) => a.id === b.id; -isSubsetWith(superset2, subset2, areItemsEqual); +isSubsetWith(superset, subset, areItemsEqual); // false를 반환해요. ``` diff --git a/docs/reference/array/isSubsetWith.md b/docs/reference/array/isSubsetWith.md index e50796adf..d00584647 100644 --- a/docs/reference/array/isSubsetWith.md +++ b/docs/reference/array/isSubsetWith.md @@ -27,13 +27,13 @@ const superset = [{ id: 1 }, { id: 2 }, { id: 3 }]; const subset = [{ id: 2 }, { id: 1 }]; const areItemsEqual = (a, b) => a.id === b.id; -isSubsetWith(superset1, subset1, areItemsEqual); +isSubsetWith(superset, subset, areItemsEqual); // Return true const superset = [{ id: 1 }, { id: 2 }, { id: 3 }]; const subset = [{ id: 4 }]; const areItemsEqual = (a, b) => a.id === b.id; -isSubsetWith(superset2, subset2, areItemsEqual); +isSubsetWith(superset, subset, areItemsEqual); // Return false ``` diff --git a/docs/zh_hans/reference/array/isSubsetWith.md b/docs/zh_hans/reference/array/isSubsetWith.md index 3b6ef67f9..013d3b244 100644 --- a/docs/zh_hans/reference/array/isSubsetWith.md +++ b/docs/zh_hans/reference/array/isSubsetWith.md @@ -27,13 +27,13 @@ const superset = [{ id: 1 }, { id: 2 }, { id: 3 }]; const subset = [{ id: 2 }, { id: 1 }]; const areItemsEqual = (a, b) => a.id === b.id; -isSubsetWith(superset1, subset1, areItemsEqual); +isSubsetWith(superset, subset, areItemsEqual); // 返回 true const superset = [{ id: 1 }, { id: 2 }, { id: 3 }]; const subset = [{ id: 4 }]; const areItemsEqual = (a, b) => a.id === b.id; -isSubsetWith(superset2, subset2, areItemsEqual); +isSubsetWith(superset, subset, areItemsEqual); // 返回 false ```