CodeMirror vs Monaco Editor

When choosing between CodeMirror, the choice for many browser DevTools, and the Monaco Editor, the editor that powers Visual Studio Code, which one is the best option?