Push a branch to remote repo and link the local version with the remote version git push -u origin mybranch Push a branch to remote repo without triggering CI/CD pipeline (Gitlab) git push -o ci.skip
3 ways to check if a Javascript object property exists
Take a basic example to start with: const foo = { bar: "baz" }; Here are three ways to check if the object foo has a property called bar hasOwnProperty For the example above foo.hasOwnProperty('bar'); // true foo.hasOwnProperty('boo'); // false in operator For the example above: return ('bar' in foo) ? true : false; Compare …
Continue reading "3 ways to check if a Javascript object property exists"

