摘要:        
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * Date对象 * - 在JS中使用Date对象来表示一个时间 */ //创建一个Date    阅读全文
        
            posted @ 2023-03-01 21:55
垂序葎草
阅读(17)
评论(0)
推荐(0)
        
            
        
        
摘要:        
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * 在调用函数时,浏览器每次都会传递进两个隐含的参数: * 1.函数的上下文对象 this     阅读全文
        
            posted @ 2023-03-01 21:52
垂序葎草
阅读(24)
评论(0)
推荐(0)
        
            
        
        
摘要:        
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> function fun(a,b) { console.log("a = "+a); consol    阅读全文
        
            posted @ 2023-03-01 21:50
垂序葎草
阅读(23)
评论(0)
推荐(0)
        
            
        
        
摘要:        
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> <script type="text/javascript"> var arr = ["孙悟空","猪八戒","沙和尚"]; var arr2 = ["白骨精    阅读全文
        
            posted @ 2023-03-01 21:49
垂序葎草
阅读(44)
评论(0)
推荐(0)
        
            
        
        
摘要:        
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> //创建一个数组 var arr = [1,2,3,2,2,1,3,4,2,5]; //去除数组中    阅读全文
        
            posted @ 2023-03-01 21:47
垂序葎草
阅读(10)
评论(0)
推荐(0)
        
            
        
        
摘要:        
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * 一般我们都是使用for循环去遍历数组, * JS中还为我们提供了一个方法,用来遍历数组     阅读全文
        
            posted @ 2023-03-01 21:45
垂序葎草
阅读(38)
评论(0)
推荐(0)
        
            
        
        
摘要:        
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> //创建一个数组 var arr = ["孙悟空","猪八戒","沙和尚"]; /* * push    阅读全文
        
            posted @ 2023-03-01 21:43
垂序葎草
阅读(19)
评论(0)
推荐(0)
        
            
        
        
摘要:        
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * 内建对象 * 宿主对象 * 自定义对象 * * 数组(Array) * - 数组也是一个    阅读全文
        
            posted @ 2023-03-01 20:23
垂序葎草
阅读(22)
评论(0)
推荐(0)
        
            
        
        
摘要:        
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> /* * 垃圾回收(GC) * - 就像人生活的时间长了会产生垃圾一样,程序运行过程中也会产生垃圾    阅读全文
        
            posted @ 2023-03-01 20:06
垂序葎草
阅读(14)
评论(0)
推荐(0)
        
            
        
        
摘要:        
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> function Person(name , age , gender){ this.name =    阅读全文
        
            posted @ 2023-03-01 20:05
垂序葎草
阅读(17)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号