当前位置:网站首页>JS string splicing
JS string splicing
2022-07-04 05:17:00 【Big bug of xiaofeichan】
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
<script>
//1. Detect the length of the obtained string length
var str = 'my name is yangy';
console.log(str.length);
//2. String splicing
console.log(' Sheep and sheep ' + ' silly ');// Yang Yang is so stupid
console.log(' Sheep and sheep ' + 18);// Sheep and sheep 18
console.log(12 + 12);//24
console.log('12' + '12');//1212
</script>
</head>
<body>
</body>
</html>
边栏推荐
- 力扣 第 300 场周赛
- TCP state transition diagram
- 加密和解密
- [matlab] general function of communication signal modulation bandpass filter
- [matlab] communication signal modulation general function - low pass filter
- Flutter ‘/usr/lib/libswiftCore. dylib‘ (no such file)
- NTFS 安全权限
- 【MATLAB】MATLAB 仿真 — 窄带高斯白噪声
- [matlab] matlab simulation modulation system - VSB system
- ping端口神器psping
猜你喜欢
2022g2 power station boiler stoker special operation certificate examination question bank and answers
补某视频网站的js,进行视频解密
Void convolution, deformable convolution, deformable ROI pooling
ETCD数据库源码分析——初始化总览
光模块字母含义及参数简称大全
2022 Guangdong provincial competition - code information acquisition and analysis flag
【QT】定时器
数据标注是一块肥肉,盯上这块肉的不止中国丨曼孚科技
A summary of the 8544 problem that SolidWorks Standard cannot obtain a license
TCP state transition diagram
随机推荐
TCP state transition diagram
定制一个自己项目里需要的分页器
2022广东省赛——编码信息获取 解析flag
TCP状态转换图
Void convolution, deformable convolution, deformable ROI pooling
2022年R2移动式压力容器充装复训题库及答案
Zhongke Panyun - 2022 Guangxi reverse analysis ideas
KMP match string
小程序毕业设计---美食、菜谱小程序
【QT】制作MyComboBox点击事件
Get the ID of the record just inserted from laravel
【MATLAB】MATLAB 仿真模拟调制系统 — AM 已调信号的功率谱与相干解调
flink1.13 sql基础语法(一)DDL、DML
2022 question bank and answers for safety management personnel of hazardous chemical business units
NTFS 安全权限
laravel 中获取刚刚插入的记录的id
Annex III: scoring standard of the defender docx
Sécurité du réseau dans les écoles professionnelles secondaires - preuve de mémoire
appliedzkp zkevm(13)中的Public Inputs
[QT] timer