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 JavaScriptHoisting
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 propertyclass
syntactical sugarhasOwnProperty()
to know if the property exists as it's own propertyOLOO
(Object Linked to Other Object): delegated objectssuper
first in constructorthis
keyword change in different context?this
in Global Contextthis
in Object Constructorthis
in an Object Methodthis
in a Simple functionthis
in a Arrow functionthis
in Event listenerthis
this
binding (top -> bottom: hight -> low)named
function over a anonymous
functiontarget
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
stringScoping 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