Hi i have two arrays of type account list and I want to remove accRecords from accountList in js controller lightning. I suppose we need to use splice function based on some index, but don't know how to achieve this.
<aura:attribute name="accRecords" type="Account[]" />
<aura:attribute name="accountList" type="Account[]" />