To find the value of the determinant of a 2x2 matrix, we use the formula:
\(\begin{vmatrix} a & b \\ c & d \end{vmatrix} = ad - bc\)
For the given matrix, we have:
| 1 | 2 |
| 3 | 4 |
Therefore, the value of the determinant is \(-2\).
This matches the given correct answer.