js encontrar índice en la cadena

const email = '[email protected]';
const searchTerm = '@';
const index = email.indexOf(searchTerm);
-----
index => 3
Swiss IT knive