Javascript Working With Strings
In this code snippet, we’ll learn how to use some of the Javascript string manipulation functions.
In this code snippet, we’ll learn how to use some of the Javascript string manipulation functions.
In this code snippet, we’ll learn about objects in Javascript. Objects can contain other objects, functions, properties and act as a sort of container for them. This is useful for transferring/storing data, modeling real world objects and for grouping a certain set of related functions and variables into one place.
In this code snippet, we’ll learn about JSON serialization/deserialization in Javascript. JSON or javascript object notation is a data format/structure for storing/transporting data. It’s supported by a wide variety of programming languages. It’s short, concise, easy to read/write and understand.
In Javascript, you can use the JSON.stringify() method to turn an object into a JSON string and JSON.parse() to turn a JSON string into an object.
In this code snippet, we’ll learn about the const keyword in Javascript. The const keyword does almost exactly the same thing to a variable as the let keyword. You can read more about let in this post. The difference is it also makes the variable a constant meaning it can only have its value assigned once.
In this code snippet, we’ll learn about the let keyword in Javascript. Javascript allows for some pretty weird stuff with variables like using them before being declared, declaring the same variable, multiple times and no variable scope.
In this code snippet, we’ll find out how to add/remove elements to/from an array in Javascript. At some point you will probably have the need to add or remove some item from an array.
In this code snippet, we’ll check out the for of loop in Javascript. You probably already know about the for and while loops. But there is another very useful type of loop present in Javascript called the “for of” loop. It can be used to iterate throught iterable object. I would say it’s the quivalent of the foreach loop in C#.
In this code snippet, we’ll learn how to send emails with PHPMailer in PHP. First, we’ll need to install the PHPMailer package. We’ll do that using a dependency manager for PHP called Composer. (See this tutorial if you want to know how to install Composer in the first place.)
In this tutorial, we’ll learn how to install and use Composer. Composer is a PHP dependency manager that simplifies adding and managing libraries in your PHP projects.