📜  在打字稿代码示例中使用多行

📅  最后修改于: 2022-03-11 14:48:25.933000             🧑  作者: Mango

代码示例1
var myString = 'A rather long string of English text, an error message ' +
    'actually that just keeps going and going -- an error ' +
    'message to make the Energizer bunny blush (right through ' +
    'those Schwarzenegger shades)! Where was I? Oh yes, ' +
    'you\'ve got an error and all the extraneous whitespace is ' +
    'just gravy.  Have a nice day.';