🚀 Important commands, code snippets, basic-to-advanced topics I'm learning daily 📚🎉!
Here is some important commands
or code snippets
on different topics that I am learning in my developing life.
reflog
author
of an earlier commitcommit message
of an earlier commitrelease
branch into master
and we have 3 folders foo/
, bar/
, js/
. Now want to resolve conflicts such as foo/
, bar/
should like master
and js/
should like release
branch.signed-off-by
field in a commitReferences
Hoisting
in JavaScript
Hoisting
Important?
let
or const
are hoisted but stay uninitialised
[[Prototype]]
and where does it come from?
[[Prototype]]
affect the behavior of an object?
[[Prototype]]
linked to?
__proto__
, [[Prototype]]
, prototype
this
points to the inheriting object, not to the prototype object
where the function is an own property
class
syntactical sugar
hasOwnProperty()
to know if the property exists as it's own property
OLOO
(Object Linked to Other Object): delegated objects
super
first in constructor
this
keyword change in different context?
this
in Global Context
this
in Object Constructor
this
in an Object Method
this
in a Simple function
this
in a Arrow function
this
in Event listener
this
this
binding (top -> bottom: hight -> low)
named
function over a anonymous
function
target
vs currentTarget
Factory Function
?
null
, undefined
and undeclared
?
get
and getter
keyword do?
two
conditions of being Module
?
Unique
values of an Array?
falsy
values from an Array?
Empty
Object?
Debouncing
in JavaScript?
this
keyword value?
spinal
string
Scoping Rule(s)
does JavaScript have?
3
different ways we can create a new Scoped variable?
undeclared
and undefined
?
var
and let
?
null
, undefiend
, NaN
setState