By banishing the bad part of the language with linter.
For instance, standard eslint preset has rules that enforce usage of ===
, https://eslint.org/docs/latest/rules/eqeqeq
These rules often come with project starter template
By banishing the bad part of the language with linter.
For instance, standard eslint preset has rules that enforce usage of ===
, https://eslint.org/docs/latest/rules/eqeqeq
These rules often come with project starter template
Looks confusing at first, but I found it nice for accessing a month array.
const months = ["Jan", "Feb", ...];
months[0] === "Jan";
const label = months[date.getMonth()];
if website has a choice, then they will often choose an option that benefits them the most.
Good news is third party is being phased out now https://developer.mozilla.org/en-US/blog/goodbye-third-party-cookies/
maybe it is similar to “how to destroy all instances belonging to a class”
not funny anymore. Banks and regulatory are doing this in some countries. Their app just refuses to open if users install any app outside of Google Play Stores.
Take a look at this https://mothership.sg/2023/08/ocbc-security-feature-delete-third-party-apps/
Huh? How?
So… am I secured if I buy more than 1?
This example https://trekhleb.dev/blog/2021/gyro-web/ demonstrates how a 3D view can be orientated by tilting your phone. It is implemented using web technology.
It uses the device gyroscope to detect rotation and tilting. This is frequently used in map / street view. No faceID or depth camera is required.
They may not know if it is changed 😄