Return to Sanity1 [CodeWars] 8kyu#2 - Return to Sanity [CodeWars] 8kyu#2 - Return to Sanity ■ InstructionsThis function returns something strange. What's wrong? ■ 문제123456function mystery() { var results = {sanity: 'Hello'}; return results;}cs ■ My Solution1234function mystery() { var results = {'sanity': 'Hello'}; return results['sanity'];}Colored by Color Scriptercs ■ 풀이'객체'을 알면 풀린다 > 참고 : 생활코딩 - 자바스크립트 '객체' 2016. 5. 25. 이전 1 다음