다음 결과는? 정보
다음 결과는?
본문
문제 : console.log(typeof typeof 1);
A: "number"
B: "string"
C: "object"
D: "undefined"
댓글 6개
                
                    C 일등                
                
                
            
                    - 
                채택 0                

                
                    d                
                
                
            
                    - 
                채택 0                
작성자에 의해 채택됐습니다.
                
        
                
                    어머나... 해봤더니 스트링이 나오네요.
그렇게 보니 그렇게 보이네요.
typeof 1 >>> number
typeof typeof 1 >> string
                    그렇게 보니 그렇게 보이네요.
typeof 1 >>> number
typeof typeof 1 >> string
- 
                채택 0                
                
                    웹학교님 홈페이지가 대단하시네요. 맛보기 몇개 보고 왔습니다. 목소리도 낭낭하시네요. ^^;                
                
                
            
                    - 
                채택 0                

                
                    @팻시 감사합니다. 자주 놀러오세요..ㅎ                
                
                
            
                    - 
                채택 0                

                
                    풀이>
typeof 1 은 "number"를 return하고
typeof "number"은 문자열을 Return
                    typeof 1 은 "number"를 return하고
typeof "number"은 문자열을 Return
- 
                채택 0                
 
  
 
