Daniel W. Robert

Front-End Engineer. Always a student.


  • In JavaScript, arrays are one of the most commonly used data structures. They are a collection of elements, each with a unique index or key. JavaScript offers a variety of methods to work with arrays that make it easy to manipulate and transform your data. This short series will list out some of the most…

    Read more →

  • In JavaScript, arrays are one of the most commonly used data structures. They are a collection of elements, each with a unique index or key. JavaScript offers a variety of methods to work with arrays that make it easy to manipulate and transform your data. This short series will list out some of the most…

    Read more →

  • In JavaScript, arrays are one of the most commonly used data structures. They are a collection of elements, each with a unique index or key. JavaScript offers a variety of methods to work with arrays that make it easy to manipulate and transform your data. This short series will list out some of the most…

    Read more →

  • Somewhat recently, I was looking through some example code (JavaScript) for a project and I came across the following syntax: I hadn’t seen this format before so it took me a second to parse through what it was doing. Essentially, this is just a fancy way of returning a single value from within an unnamed…

    Read more →

  • CSS Feature Queries

    Feature queries in CSS allow you to test whether a particular feature is supported by the browser before applying styles that use that feature. This means that you can take advantage of the latest features and functionality, while still ensuring that your site looks good on older browsers and devices. This is done by testing…

    Read more →

  • UNIX-like operating systems (e.g., Linux, MacOS) have a handful of commands for managing your running programs (jobs) in the Terminal. From your Terminal application, you have the ability to manually send jobs to run in the background, bring them to the foreground, or suspend them. Below are the main job control commands with examples. List…

    Read more →

  • Every time I’ve installed a new installation of WordPress, I would install the latest version. Naturally. And 99% of the time, why wouldn’t you? Today, however, I explicitly needed to test a release against an older version of WordPress Core. In doing so, I learned a couple of useful things. 1. WP CLI Version Flag…

    Read more →

  • As of ES6, we are able to set default parameter values when defining a function, as shown below: This allows for named parameters to be initialized with default values if no value is present or it evaluates to undefined. If you want to call a function without passing one of the parameters, allowing it to fall…

    Read more →

  • Node.js is a perfect runtime to create a CLI script that can run on any machine that has Node installed. A CLI program in Node is really just an ordinary Node.js app. In order to make the program available to be executed by your machine, we need to do a couple of small setup steps.…

    Read more →

  • Typically, when I need to debug something with dev tools on a mobile layout, Chrome’s device toolbar is sufficient enough. Occasionally, it’s necessary to debug right on the device, since certain things differ between Safari and Chrome’s emulation. The downside is that, at the time of writing this, you can’t use dev tools on your…

    Read more →