Circle-75 is a learning circle at AltSchool Africa. We decided to come together as a group to learn JavaScript together and practice exercises in an attempt to all gain a better understanding of JavaScript.
-
index.js
: Contains the basics of JavaScript. It has variable declaration, data types, type conversion, basic operations and operators in JavaScript. -
conditionals.js
: Here, we looked at the different ways of writing conditional statements using:- if-else statements
- switch statements
- ternary operators
-
functions.js
: In this file, we looked at the diffrent ways to write functions:- Function declaration,
- Function expression,
- Arrow function,
- Modern arrow function.
-
We also learnt about callbacks, returning values and also learnt about naming functions appropriately.
-
loops.js
: We looked at the types of loops and their syntax:- while loops
- do-while loops
- for loops
-
We took a quick look at Nested loops. We also looked at the use at the use of break and continue.
-
exercises.js
: Contains practice questions for the things that we have learnt so far. -
objects.js
: We dealt with basics of objects- The use of bracket and dot notation
- Comparing objects
- The for...in loops
-
Arrays
: This folder will contain everything that will be learnt about arrays. For now, it contains:-
introArr.js
: The basics of arrays -
arrayMethods.js
: The methods available to arrays- push/pop method
- shift/unshift method
- toString method
- splice/slice
- concat method
-
iterators.js
: Talks about array Iterators: The use of forEach loops compared to for loops and for...of loops. -
searcharray.js
: Talks about the array methods that can be used to search through an array:- IndexOf/lastIndexOf
- Includes
- find/findIndex
- filter
-
transformArray.js
: Talks about the array methods that can be used to transform an array.- split method
- join method
- sort method
- reverse method
- reduce/reduceRight method
- map method
-
map-set.js
: Explains the use of maps and sets in JavaScript -
arrayexercises.js
: Contains practice exercises on the different available array methods.
-
-
strings.js
: Contains the different methods that are available to strings.- charAt(index)
- charCodeAt(index)
- concat method
- includes method
- indexOf(), lastIndexOf()
- length
- slice, substring()
- toUpperCase(), tolowerCase()
- trim()
- replace()
- split()
-
dateTime
: This contains information on different ways of creating date and time in JavaScript -
exercises2.js
: Part 2 to our practice questions for the things that we have learnt. Currently contains Date and Time exercises. -
promises
: An introduction to promises and asynchronous activities in JavaScript. Contains information on:- Promises
- chaining promises
- async/await
- promise.all
- catching errors and using promises.
exercises
: Contains practice exercises on Promises.
-
prototypes
: We look at protypes and constructors.prototypes.js
: We look at [[Prototype]] and it's significance to JavaScript.classes.js
&classes2.js
:Explains classes and constructors- -
fPrototypes.js
: A quick look at F prototype. nativePrototype.js
: Explains the native prototypes in Javascript
-
advancedFunctions
: A bigger look at functions.recursion.js
: Explains recursion and it's uses. A quick look at stacks, binary tree and linked lists.rest.js
: Rest parameters, arguments variable and spread operators.binding.js
: Explains the concept of binding in JavaScript.closure.js
globalObject.js
recursion.js
scheduling.js
: Explains the two methods that we have for scheduling events in JavaScript: setTimeout and setInterval.exercises.js
: Exercises on Advanced functions.
-
modules
: Introduces us to the concept of modules in JS and how they come in handy in the use of JavaScript frameworks. Files include:index.js
,index.mjs
,math.js
,math.mjs
andmodule.js.
module.js
: Gives us a brief explanation on package installers and this is how we end up withnode_modules
,package-lock.json
andpackage.json
files -
Will update this as we move forward.