카테고리 없음

[Java] array

EmilyP 2021. 3. 23. 17:42

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Document</title>

    <script type="text/javascript">

       

 

        address = ['kim','baek','park','lee','ko'];

        address.push('kim2'); 

        console.log(address[2]);

    </script>

</head>

<body>

    

</body>

</html>