Open Mervatabuamro opened 1 year ago
@Mervatabuamro which exercise(s) you didn't understand? and if so, why you didn't ask for help?
My time this week is not so much organized so I try to understand by myself and I will ask for sure for help next time. thank you for following up
Learning Objectives
0. Asserting
let
vs.const
: You can explain the differences betweenlet
andconst
including: uninitialized declarations and reassignment. You can determine when a variable can be assigned withconst
in a program.===
and!==
operators compare strings, and can predict the result of any string comparison.console.log
: You can useconsole.log
to create program traces in the console, and to print other helpful info for developers.console.assert
: You can use theconsole.assert
for assertion testing, and can write a helpful message assertion message.1. Primitives and Operators
typeof
: You can predict thetypeof
operator's output for values from any of the 5 main primitive types.Boolean()
,String()
andNumber()
to convert between primitive types.&&
,||
,!
and? :
.&&
and||
.+
,!
and>
.2. Control Flow
if
/else
statements.while
loops.for-of
Strings: You can predict and trace simple programs that iterate through the characters of a string usingfor-of
.for
loops works by refactoring simplefor
loops intowhile
loops.break
.continue
.3. Functions
5. Unit Testing
describe
/it
/expect.toEqual
functions are defined by a testing library and made available as global variables in a testing environment. They are not part of JavaScript!file.__.js
. Sub-extensions are a convention for developers and development tools. They do not change how JavaScript inside the file works.6. ES Modules
?deps
lens to visualize the dependencies in a folder.'use strict'
!export const _ = () => {};
import { _ } from './path/to/file.js';
6. Using Functions
7. Arrays
const arr = ['items'];
.at()
and a positive or negative index.arr[4] = 'hello'
.Array.isArray(something)
const shallowCopy = [...arr];
8. Functional Array Methods
[].every
[].some
[].map
[].filter
[].find
[].reduce
9. Multiple Interactions
const obj = { a: 1, b: 2 };
.Week 1
I Need Help With
Nothing right now.
What went well?
Working on some of the exercises.
What went less well?
all good for now
Lessons Learned
Week 2
I Need Help With
I did not understand some of the exercises.
What went well?
Solving some of the exercises.
What went less well?
Lessons Learned
writing a function based ion given information. better understanding of arrays and how it works. knowing some new methods in java
Week 3
I Need Help With
its okay for now
What went well?
Understanding the examples and practicing more
What went less well?
Lessons Learned
better understanding of arrays and functions