Open RabitaMaharjan opened 1 year ago
@RabitaMaharjan why didn't you check the item you understood from the learning objectives?
@samirm00 Now I did it.
@RabitaMaharjan Thank you.
@RabitaMaharjan I am happy you find BF class videos helpful, let me know if you have any questions.
Inside JS
My fork
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 };
.[ ] 🐣 Reference vs. Values: You can show that objects are stored by reference with an example that modifies one object from two variables.
Week1
I Need Help With:
nothing for the moment
What went well?
What went less well?
Lessons Learned
Busy with some exercise and study
Sunday Prep Work
Week2
I Need Help With:
nothing for the moment
What went well?
Going Through all the BF class videos. Helping me a lot to understand the course.
What went less well?
Lessons Learned
Sunday Prep Work
Week3
I Need Help With:
started from the begining, got some questions and getting help.
What went well?
What went less well?
Lessons Learned
Sunday Prep Work