How to send control char using strict mode in javascript?

javascript

Solution

Use `\u001b` instead. `\0...` is an octal escape sequence which your JavaScript environment might not support.

Problem

``` "use strict"; var debug = function( m ) { console.log(' \033[32mdebug -\033[39m:' + m ); } ``` The \033 is not going to fly with the strict mode any way around that beside taking off the strict mode?

Original source