Primitives (string, number, bigint, boolean, undefined, symbol, null)
// this is a primitive so its value are stored in the stack
// Identifier age - Address 001 - Value 30
const alex = {
firstName: 'Alex',
year: 1990,
Hoisting, TDZ, Function Hoisting, Variable hoisting
A let
or const
variable is said to be in a "temporal dead zone" (TDZ) from the start of the block until code execution reaches the line where the variable is declared and initialized.
While inside the TDZ, the variable has not been initialized with a value, and any attempt to access it will result in a ReferenceError. The variable is initialized with a value when execution reaches the line of code where it was declared. If no initial value was specified with the variable declaration, it will be initialized with a value of undefined
.
https://github.com/your_repo/your_project/commit/commit_hash
copy the commit_hash
Android - Set location for Emulator
Some video streaming site will hide the download link behind a blob
format which will get resolved internally. If you inspect the video player in Chrome you can see something like this:
<video class="jw-video jw-reset" tabindex="-1" disableremoteplayback="" webkit-playsinline="" playsinline="" src="blob:https://play.vstreamplay.xyz/1c36398f-c376-4873-a0ac-7fa07c3968f7"></video>
To test 64 bit compatibility, we would need to force 64 bit ABI installation on a 64 bit emulator:
x86_64
).
When the filterTouchesWhenObscured
attribute is set to false
, the app will be subject to tapjacking attacks. Tapjacking is an attack where an adversary puts an invisible overlay over the app and requests permissions without the user knowing it.
<Button
android:id="@+id/buttonLogin"
android:layout_width="wrap_content"
android:layout_height="wrap_content"