当前位置:网站首页>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>边栏推荐
- 简单g++和gdb调试
- Unity is connected to the weather system
- 【MATLAB】MATLAB 仿真模拟调制系统 — AM 已调信号的功率谱与相干解调
- 2022危险化学品经营单位安全管理人员上岗证题库及答案
- Zhongke panyun-2022 Guangdong Trojan horse information acquisition and analysis
- 企业级日志分析系统ELK(如果事与愿违那一定另有安排)
- [matlab] matlab simulates digital baseband transmission system - digital baseband transmission system
- 如何使用postman实现简单的接口关联【增删改查】
- Thread pool: use thread pool to optimize query speed
- LM小型可编程控制器软件(基于CoDeSys)笔记二十二:错误4268/4052
猜你喜欢

National vocational college skills competition (secondary vocational group) network security competition questions - Analysis

A summary of the 8544 problem that SolidWorks Standard cannot obtain a license

c语言经典指针和数组笔试题解析

ping端口神器psping

Notes on the paper "cross view transformers for real time map view semantic segmentation"

Electronic components mall and data manual download website summary

企业级日志分析系统ELK(如果事与愿违那一定另有安排)

Character types of C language

Simulink与Arduino串口通信

Two sides of the evening: tell me about the bloom filter and cuckoo filter? Application scenario? I'm confused..
随机推荐
COMP1721 Creating Classes
cmake
cmake
2022 question bank and answers for safety management personnel of hazardous chemical business units
Analysis of classical pointer and array written test questions in C language
Two sides of the evening: tell me about the bloom filter and cuckoo filter? Application scenario? I'm confused..
[matlab] matlab simulation modulation system - VSB system
TCP state transition diagram
Detailed comparison of Hynix emmc5.0 and 5.1 series
[matlab] matlab simulation - low pass Gaussian white noise
企业级日志分析系统ELK(如果事与愿违那一定另有安排)
中職組網絡安全—內存取證
Annex I: power of attorney for 202x XXX attack and defense drill
【MATLAB】MATLAB 仿真模拟调制系统 — SSB 系统
2022广东省赛——编码信息获取 解析flag
flink1.13 sql基础语法(一)DDL、DML
海力士EMMC5.0及5.1系列对比详解
Fault analysis | mongodb 5.0 reports an error, and the legal instruction solves it
flink1.13 sql基础语法(二)join操作
远程桌面客户端 RDP