JavaScript
let currentData = [
{
"Last Name": "Doe",
"First Name": "John",
"Middle Name": "",
"Last Four": "xxx-xx-2333",
"Type Of Case": "Initial",
"Status": "Open",
"Status Date": "20-Feb-22",
"ALJ Last Name": "Maria Someone",
"Location": "Washington"
},
{
"Last Name": "Doe",
"First Name": "John",
"Middle Name": "",
"Last Four": "xxx-xx-2333",
"Type Of Case": "Initial",
"Status": "Open",
"Status Date": "20-Feb-22",
"ALJ Last Name": "Maria Someone",
"Location": "Washington"
},
{
"Last Name": "Doe",
"First Name": "Mary",
"Middle Name": "",
"Last Four": "xxx-xx-3555",
"Type Of Case": "Post Hearing",
"Status": "Pending",
"Status Date": "12-Feb-22",
"ALJ Last Name": "Judge Judy",
"Location": "Texas"
}
];
let previousData = [
{
"Last Name": "Doe",
"First Name": "John",
"Middle Name": "",
"Last Four": "xxx-xx-2333",
"Type Of Case": "Initial",
"Status": "Open",
"Status Date": "20-Feb-22",
"ALJ Last Name": "Maria Someone",
"Location": "Washington"
},
{
"Last Name": "Doe",
"First Name": "John",
"Middle Name": "",
"Last Four": "xxx-xx-2333",
"Type Of Case": "Initial",
"Status": "Open",
"Status Date": "20-Feb-22",
"ALJ Last Name": "Maria Someone",
"Location": "Washington"
},
{
"Last Name": "Doe",
"First Name": "Mary",
"Middle Name": "",
"Last Four": "xxx-xx-3555",
"Type Of Case": "Post Hearing",
"Status": "Pending",
"Status Date": "12-Feb-22",
"ALJ Last Name": "Judge Jerry",
"Location": "Texas"
},
{
"Last Name": "Spencer",
"First Name": "Tim",
"Middle Name": "",
"Last Four": "xxx-xx-1232",
"Type Of Case": "Decision",
"Status": "Closed",
"Status Date": "1-Feb-22",
"ALJ Last Name": "Judge Fast",
"Location": "Florida"
}
];
function addpks(arrayRef,pkcollist)...