惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

G
Google Developers Blog
阮一峰的网络日志
阮一峰的网络日志
A
About on SuperTechFans
大猫的无限游戏
大猫的无限游戏
Engineering at Meta
Engineering at Meta
V
Visual Studio Blog
Martin Fowler
Martin Fowler
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 叶小钗
I
InfoQ
B
Blog RSS Feed
aimingoo的专栏
aimingoo的专栏
Y
Y Combinator Blog
Blog — PlanetScale
Blog — PlanetScale
IT之家
IT之家
P
Proofpoint News Feed
WordPress大学
WordPress大学
小众软件
小众软件
B
Blog
MongoDB | Blog
MongoDB | Blog
人人都是产品经理
人人都是产品经理
量子位
Hugging Face - Blog
Hugging Face - Blog
月光博客
月光博客

博客园 - 荆棘人

AI的下一个战场,不在屏幕里,而在现实世界 mysql数据库update时1048 - Column 'other_ext' cannot be null MediatR和CAP结合使用,应清晰区分场景 saas系统定制业务 微服务,数据一致性 微服务中数据一致性问题 mysql中高效取子表数据第一条某个字段返回 .net解决分布式事务简单方案DotNetCore.CAP kubesphere记录 CanalSharp使用学习 漏洞扫描,编写功能,让接口多传参数就报错 调用WebService异常:提供的 URI 方案“https”无效,应为“http”。 (Parameter 'via') asp.net web api 接口内调用多个远程接口优化 asp.net web api 接口控制并发研究(临时性方法) angular-ui-router学习 使用Oracle SQL Developer连接Oracle数据库 element ui <el-form-item>文字太长换行怎么办? element ui 如何在一行放置三个输入框和两个按钮 javascript中的iframe 学习angularJS笔记
JavaScript的一些特殊语法
荆棘人 · 2023-09-05 · via 博客园 - 荆棘人

代码示例,JavaScript语言中,给function前加上感叹号!的作用是什么呢?

添加“!”的目的JavaScript 中的函数之前是将其转换为函数表达式并立即调用它。这也称为立即调用函数表达式 (IIFE)

 参考:javascript - What does the exclamation mark do before the function? - Stack Overflow

posted on 2023-09-05 09:36  荆棘人  阅读(43)  评论(0)    收藏  举报