How to evaluate strings into mathematical expressions? (HTML/JS)

It doesn’t show an answer. What do I do?