摘要: <html> <body> <h1>Design Patterns in JavaScript Constructor, Factory, & Abstract Factory Creational Patterns</h1> <script type="text/javascript"> "use 阅读全文
posted @ 2022-10-14 18:19 CrazyJC 阅读(12) 评论(0) 推荐(0) 编辑
摘要: <html> <body> <button onclick="fetchImage()">Fetch</button> <button onclick="ajaxRequest()">Ajax</button> <button onclick="ajaxRequest2()">Ajax2</butt 阅读全文
posted @ 2022-10-14 11:04 CrazyJC 阅读(137) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> "use strick"; let regularFunction=()=>{ return "Hello"; } let timeoutFunction=msg=>{ var returnMsg; setTimeout(()=>{ c 阅读全文
posted @ 2022-10-14 11:03 CrazyJC 阅读(526) 评论(0) 推荐(0) 编辑