Browse Source

docs(collections): correct grammar

DEV-3198-new-go-exercise-get-digit-len
davhojt 2 years ago
parent
commit
ccb6545be5
No known key found for this signature in database
GPG Key ID: C8C3C515E7AF0D2D
  1. 22
      subjects/collections/README.md

22
subjects/collections/README.md

@ -4,17 +4,17 @@
Write a bunch of functions which converts data from one type to another:
- `arrToSet` from `Array` to `Set`.
- `arrToStr` from `Array` to `string`.
- `setToArr` from `Set` to `Array`.
- `setToStr` from `Set` to `string`.
- `strToArr` from `string` to `Array`.
- `strToSet` from `string` to `Set`.
- `mapToObj` from `Map` to `Object`.
- `objToArr` from `Object` to `Array`.
- `objToMap` from `Object` to `Map`.
- `arrToObj` from `Array` to `Object`.
- `strToObj` from `string` to `Object`.
- `arrToSet`: from `Array` to `Set`.
- `arrToStr`: from `Array` to `string`.
- `setToArr`: from `Set` to `Array`.
- `setToStr`: from `Set` to `string`.
- `strToArr`: from `string` to `Array`.
- `strToSet`: from `string` to `Set`.
- `mapToObj`: from `Map` to `Object`.
- `objToArr`: from `Object` to `Array`.
- `objToMap`: from `Object` to `Map`.
- `arrToObj`: from `Array` to `Object`.
- `strToObj`: from `string` to `Object`.
Finally, write a function named `superTypeOf` that unlike `typeof` returns a specific values for advanced types like `Map` and `Set`.

Loading…
Cancel
Save