You can use a built-in function on the Array prototype to join together an array as a string separated by commas in JavaScript.

Image for post
Image for post
Photo by Upgraded Points on Unsplash
How to Convert an Array to a String with Commas in JavaScript 💙 Chillhop & Code 📺

Introduction: Join Together Array Items as a String


Being able to share all props from parent to child component in React lets you easily break your app up into small components. Here’s how to pass all of the React props at the same time.

Image for post
Image for post
Photo by Kay on Unsplash
How to Pass All Props to a Child Component in React 💙 Chillhop & Code 📺 Programming Tutorials

Passing Props from Parent to Child in React


Let’s find the distinct values for a given property among all of the JavaScript objects in an array in this short tutorial.

Image for post
Image for post
Photo by Pierre Bamin on Unsplash
How to Find Unique Values by Property in an Array of Objects in JavaScript 💙 Chillhop & Code 📺

JavaScript Unique Values for a Property in an Array


A beginner’s guide

A programmer at work.
A programmer at work.
Photo by Procreator UX Design Studio on Unsplash
“How to Set Up VS Code Like a Pro in 5 Min (Beginner’s Guide)” via 💙 Chillhop & Code 📺


Array.isArray([]) vs. Object.prototype.toString.call([])

JavaScript arrays are a type of object, so typeof [] returns "object" — not very helpful to see if you have an array. Here are 5 methods to check whether a JavaScript object is an array.

Image for post
Image for post
Photo by JJ Ying on Unsplash
How to Check for an Array in JavaScript 💙 Chillhop & Code 📺 Programming Tutorials

“Arrays are list-like objects whose prototype has methods to perform traversal and mutation operations.” — MDN Docs


Finding the unique strings from a JavaScript array is a common task for web developers — here’s three ways of how to do it.

Image for post
Image for post
Photo by Gaelle Marcel on Unsplash
How to Find Unique Strings in an Array Using JavaScript 💙 Chillhop & Code 📺 Programming Tutorials

A Unique Array of Strings


Need unique values in JavaScript? That’s where the Set object comes in. Here’s how to use Set to filter a list of unique primitive values, objects by reference, or objects by their contents (values).

Image for post
Image for post
Photo by Stephen Leonardi on Unsplash
How to Use Set to Filter Unique Items in JavaScript ES6 💙 Chillhop & Code 📺 Programming Tutorials

Unique JavaScript Values? Think Set

“The Set object lets you store unique values of any type, whether primitive values or object references.” — MDN Docs


Join Dr. Derek Austin 🥳 weekdays for free JavaScript tutorials at https://twitch.tv/ChillhopAndCode

Image for post
Image for post

https://twitch.tv/ChillhopAndCode

Join my email list to get free access to all of my Medium articles.


Windows 10 has a built-in Sticky Notes app that is super useful if, like me, you threw away all your paper while tidying up.

Image for post
Image for post
Credit GIPHY: http://gph.is/2ySmmsM (from the Cerkl team website)

Why I Use Virtual Sticky Notes


You’ll program faster if you try to make your code simple, even repetitive, when you first write it

Branch with orange leaves in front of lake
Branch with orange leaves in front of lake
Photo by Simon Berger on Unsplash

About

Dr. Derek Austin 🥳

🤓 The physical therapist who writes JavaScript 💪 Web Developer 😎 Mentor 🧠 DPT 😄 SEO Expert 😁 React 😆 Jamstack 🗯️ Ask me anything 👉 DoctorDerek.com 👈

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store