All Projects → andrewborisov → javascript-practice

andrewborisov / javascript-practice

Licence: other
Repository for an article "10 Javascript exercises with arrays"

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to javascript-practice

python3-curso-em-video
Python 3 - Curso em Vídeo
Stars: ✭ 150 (+240.91%)
Mutual labels:  exercises
react exercises
Exercises for Rithm School's free online React Fundamentals course
Stars: ✭ 28 (-36.36%)
Mutual labels:  exercises
vapi
vAPI is Vulnerable Adversely Programmed Interface which is Self-Hostable API that mimics OWASP API Top 10 scenarios through Exercises.
Stars: ✭ 674 (+1431.82%)
Mutual labels:  exercises
deep learning tutorials
deep learning: theory + practice
Stars: ✭ 80 (+81.82%)
Mutual labels:  exercises
julia koans
Small exercises to get you used to reading and writing Julia code!
Stars: ✭ 28 (-36.36%)
Mutual labels:  exercises
system-design-notebook
Learn System Design step by step
Stars: ✭ 372 (+745.45%)
Mutual labels:  exercises
scala-3-crash-course
Scala 3 workshop presenting the top new features of the language.
Stars: ✭ 34 (-22.73%)
Mutual labels:  exercises
cloud-sample-spaceflight-java
Build Java applications with the application programming model on SAP Cloud Platform.
Stars: ✭ 49 (+11.36%)
Mutual labels:  exercises
rust-practise-questions
A book of questions for practise in Rust
Stars: ✭ 46 (+4.55%)
Mutual labels:  exercises
Information-Retrieval
Information Retrieval algorithms developed in python. To follow the blog posts, click on the link:
Stars: ✭ 103 (+134.09%)
Mutual labels:  exercises
workshop
Workshop: Micromagnetics with Ubermag
Stars: ✭ 19 (-56.82%)
Mutual labels:  exercises
safari-training-react
Code examples and exercises for Safari LiveTraining course.
Stars: ✭ 12 (-72.73%)
Mutual labels:  exercises
streams-workshop
A workshop on Node.js Streams
Stars: ✭ 176 (+300%)
Mutual labels:  exercises
packt-mastering-fp
PacktPub "Mastering Functional Programming with JavaScript" video course materials
Stars: ✭ 17 (-61.36%)
Mutual labels:  exercises
studygroup
Repo containing exercises to learn Elixir
Stars: ✭ 14 (-68.18%)
Mutual labels:  exercises
learn perl oneliners
Example based guide for text processing with perl from the command line
Stars: ✭ 63 (+43.18%)
Mutual labels:  exercises
go-learning
My Golang training material for testing smaller Go concepts and ideas.
Stars: ✭ 27 (-38.64%)
Mutual labels:  exercises
coq-art
Coq code and exercises from the Coq'Art book [maintainers=@ybertot,@Casteran]
Stars: ✭ 57 (+29.55%)
Mutual labels:  exercises
exercises.json
Open Public Domain Exercise Dataset in JSON format
Stars: ✭ 49 (+11.36%)
Mutual labels:  exercises
Curso-Python-Gustavo-Guanabara
Mais de 100 exercícios resolvidos do curso de fundamentos de Python 3, ministrado pelo prof. Gustavo Guanabara do Curso em Vídeo.
Stars: ✭ 170 (+286.36%)
Mutual labels:  exercises

Javascript practice

I prepared javascript exercises, which I hope will help you to improve your coding skills. I do not affirm my solutions are the best ways to solve each of the exercises, but I believe they could help you to find some new ideas if you stuck.

Prerequisites

npm i to install jest and lint

Exercises with arrays

To run check your solutions use npm run testArrays.
Also, you can check mine by running npm run testArraysSolutions.

List of tasks

  1. fill - Write a method that creates a new array with given values.
  2. reverse - Write a method that reverts input array.
  3. compact - Write a method that clears array from all unnecessary elements, like false, undefined, empty strings, zero, null.
  4. fromPairs - Write a method that returns an object composed of key-value pairs.
  5. without - Write a method that returns an array without listed values.
  6. unique - Write a method that returns a duplicate-free array.
  7. isEqual - Write a method that makes a shallow compare of two arrays and returns true if they are identical.
  8. flatten - Write a method that turns a deep array into a plain array.
  9. chunk - Write a method that splits an array into parts of determined size.
  10. intersection - Write a method that creates an array of unique values that are included in all given arrays.

Exercises with objects

To run check your solutions use npm run testObjects.
Also, you can check mine by running npm run testObjectsSolutions.

List of tasks

  1. isPlainObject - Write a method that verifies argument is a plain object, not an array or null
  2. makePairs - Write a method that returns a deep array like [[key, value]]
  3. without - Write a method that returns new object without provided properties
  4. isEmpty - Write a method that makes a shallow check is object empty
  5. isEqual - Write a method that makes a shallow compare of two objects
  6. invoke - Write a method that invokes an array method on a specific path
  7. isEmptyDeep - Write a method that makes a deep check is an object empty
  8. isEqualDeep - Write a method that makes a deep compare of two objects
  9. intersection - Write a method that finds shallow intersections of objects
  10. intersectionDeep - Write a method that finds all intersections of objects
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].