当前位置:网站首页>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>边栏推荐
- RSA加密应用常见缺陷的原理与实践
- [matlab] matlab simulates digital baseband transmission system - digital baseband transmission system
- 2022G2电站锅炉司炉特种作业证考试题库及答案
- Graduation design of small programs -- small programs of food and recipes
- 数据标注是一块肥肉,盯上这块肉的不止中国丨曼孚科技
- The second case analysis of the breakthrough of defense system from the perspective of the red team
- C语言简易学生管理系统(含源码)
- LM small programmable controller software (based on CoDeSys) note 22: error 4268/4052
- Appearance of LabVIEW error dialog box
- ping端口神器psping
猜你喜欢

Etcd database source code analysis - initialization overview

Useful plug-ins for vscode

中科磐云—D模块解析以及评分标准

Appearance of LabVIEW error dialog box

抓包整理外篇fiddler———— 会话栏与过滤器

Unity is connected to the weather system

2022 t elevator repair operation certificate examination question bank and simulation examination

Flutter calls Gaode map app to realize location search, route planning and reverse geocoding

Programming example of stm32f1 and stm32subeide -74hc595 drives 4-bit 7-segment nixie tube

Customize a pager needed in your project
随机推荐
企业级日志分析系统ELK(如果事与愿违那一定另有安排)
【MATLAB】MATLAB 仿真 — 低通高斯白噪声
中职组网络安全—内存取证
Public inputs in appliedzkp zkevm (13)
[matlab] matlab simulates digital bandpass transmission system ask, PSK, FSK system
Trie数-字典树
Li Kou's 300th weekly match
ETCD数据库源码分析——初始化总览
Annex III: scoring standard of the defender docx
Graduation design of small programs -- small programs of food and recipes
Zhongke Panyun - data analysis and forensics packet flag
Just do it with your hands 7 - * project construction details 2 - hook configuration
加密和解密
Encryption and decryption
appliedzkp zkevm(11)中的EVM Proof
Zhongke panyun-d module analysis and scoring standard
[matlab] matlab simulates digital bandpass transmission systems - QPSK and OQPSK systems
[matlab] communication signal modulation general function interpolation function
Analysis of classical pointer and array written test questions in C language
抓包整理外篇fiddler———— 会话栏与过滤器