[英]How to type the prime ( ' ) symbol in a string?
显示25'作为输出描述的正确语法是什么?
例:
var sizeData = [
{description:'Recommended sizes listed below', value:'', text:'Select Size'},
{description:'Boat < 25 ′, value:'size0', text:'Size 0'},
{description:'25-35 Foot Boat', value:'size2', text:'Size 2'},
{description:'40-45 Foot Boat', value:'size3', text:'Size 3'},
];
var sizeData = [
{说明:\\'建议的尺寸如下所列\\',值:\\'\\',文字:\\'选择尺寸\\'},
{description:\\'Boat <25',value:\\'size0 \\',text:\\'Size 0 \\'}];
您可以使用“”括起(')。 基本上像这样的“”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.