From ccb6545be59a813605ff3a7a8cbc752e01405bc0 Mon Sep 17 00:00:00 2001 From: davhojt Date: Sun, 1 May 2022 16:59:27 +0100 Subject: [PATCH] docs(collections): correct grammar --- subjects/collections/README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/subjects/collections/README.md b/subjects/collections/README.md index 7142e48f..4b1d3900 100644 --- a/subjects/collections/README.md +++ b/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`.