💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# Creation You can define strings in JavaScript by enclosing the text in single quotes or double quotes: ~~~ // Single quotes can be used var str = 'Our lovely string'; // Double quotes as well var otherStr = "Another nice string"; ~~~ In Javascript, Strings can contain UTF-8 characters: ~~~ "中文 español English हिन्दी العربية português বাংলা русский 日本語 ਪੰਜਾਬੀ 한국어"; ~~~ **Note:** Strings can not be subtracted, multiplied or divided. Exercise Create a variable named `str` set to the value `"abc"`. ~~~ ~~~