1.首先,打開壹個html編輯器,創建壹個新的html文件,比如index.html。
2.在index.html
3.瀏覽器運行index.html頁面,json對象的name屬性被成功獲取並打印出來。