midudev / midudev-issues

Comparte errores e ideas de la academia de midu.dev
14 stars 0 forks source link

Mistake in example of the method `isSubsetOf` of the `Set` class in JavaScript #7

Open Bryan-an opened 1 month ago

Bryan-an commented 1 month ago

In the example the code execution result is true, but when I execute the same in the console of the browser, I got false, because set1 is not a subset of set2, to make this true, set2 must have the number 1:

image image