The PowerShell execution policy is default set to Restricted. You…
Leave a Comment
To fetch data in descending order from the database in CodeIgniter you need to use the order_by() along with get() method. Below is the sample…
Leave a CommentThe operator nullsafe allows a developer to eliminate the null check for each property before going on to the next chain of the property or…
Leave a CommentIn this post, we gonna create custom functions and load it in the Laravel project. These functions can be accessible all over the project. Loading…
Leave a CommentIn this post, we gonna make a connection to Salesforce with Node.js and we will update the Salesforce Objects. We will use node-salesforce npm module…
1 CommentIn this post, we gonna use Puppeteer to generate PDF files from HTML. With Puppeteer we can also generate screenshots. What is Puppeteer? The documentation…
Leave a CommentThe built-in array_filter() the function removes all the empty elements, zeros, false and null values from an array. This function uses a callback function to…
Leave a CommentThe Array.prototype.findIndex() and Array.prototype.find() methods are useful to search the provided array. The findIndex() method returns the index of the first element in the array…
Leave a CommentOptional chaining allows you to safely access the nested object properties. In general, to access the nested object properties you must and should check the…
Leave a CommentThe nullish coalescing operator (??) is a logical operator that returns its right-hand side operand when its left-hand side operand is null or undefined and…
Leave a CommentLogical assignment operators are new compound assignment operators that combine the logical operations &&, ||, or ?? with assignment x &&= y; // Roughly equivalent…
Leave a CommentString.prototype.replaceAll provides an easy way to replace all occurrences of a substring without creating a global RegExp. const queryString = ‘q=query+string+parameters’; // Works, but requires…
Leave a Comment