cli-highlight icon indicating copy to clipboard operation
cli-highlight copied to clipboard

UnhandledPromiseRejectionWarning: TypeError: value.replace is not a function

Open fdciabdul opened this issue 4 years ago • 3 comments

   const newdb ={
        id : results[i].tb_email_reminder_2004_id,
        tgl : results[i].tgl_proses,
        jenis: results[i].jenis_surat_email,
        minpem: results[i].min_pembayaran,
        total : results[i].total_tagihan,
        jatuhtem: results[i].jatuh_tempo,
        email: results[i].email,
        car_no: results[i].card_no,
        status: results[i].status

     }
     console.log(highlight(newdb))

so there is anyway to fix it ?

fdciabdul avatar Feb 15 '21 10:02 fdciabdul

Is that code that you tried to highlight? Please provide some more details of what you tried to do.

felixfbecker avatar Feb 15 '21 10:02 felixfbecker

Is that code that you tried to highlight? Please provide some more details of what you tried to do.

yes , i means i wanna higlight the array , that's possible ?

fdciabdul avatar Feb 18 '21 20:02 fdciabdul

same error using in angular

image

pookdeveloper avatar Sep 06 '23 14:09 pookdeveloper