<prompt> Andika kazi ya JavaScript ambayo inaweza kuhesabu determinant ya matrix iliyopewa.  <response>: Hii ni mfano wa kazi ya Javascript ya determinant ya matrix iliyopendekezwa, ambayo inajumuisha matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na matrix na mat 