Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Recent content by tdev81

  1. T

    JavaScript Creating a new array from recursive mapping

    I am attempting to do something very complex. I have a database that has a self relation (categories that contain a nested category). The ORM I’m using makes use of these categories as objects: category = [ { name: "Lights", description: "some description", parentid: "some id"...
  2. T

    JavaScript Filter out element in a deeply nested array

    Context: I have a form where a user enters in data. I want to remove all object elements in the phone array that contain an empty string in the phoneNumber property. Here is example data: const data = [ { contactName: "Contact 1 Name", phone: [ {phoneName: "Some Name"...
  3. T

    JavaScript Render all properties in an object which is in an array which is in an object

    Just realized that my methods were working fine but I was doing something else really dumb. Is there anyway to delete this question to save me from embarrassment?
  4. T

    JavaScript Render all properties in an object which is in an array which is in an object

    I think this probably has a simple solution but I've been trying for hours and I can't figure it out. I have an array with objects that have properties: contactInfo = { addresses: [ { addressLine1: "32030 Ortiz Fords" city: "Port Devon" country: "Guadeloupe" addressType: "BUSINESS"...
Back
Top Bottom