-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJS.js
33 lines (30 loc) · 845 Bytes
/
JS.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
var json = {
"std_data": {
"execution": {
"code": "0",
"sql_code": "",
"description": ""
},
"parameter": {
"purchase_data": [
{
"purchase_no": "0001",
"purchase_seq": "0001A",
"purchase_sub_seq": "0001B",
"eoc_company_id": "雲端營運公司編號",
"eoc_site_id": "雲端營運據點編號",
"eoc_region_id": "雲端營運域編號"
}
]
}
}
};
var json2 = [{name:'a',value:'001'},{name:'b',value:'b'}];
//console.log(json.std_data.parameter.purchase_data[0].purchase_no);
console.log(json2[0].name);
console.log('gogogogog');
console.log('gogogogog');
console.log('gogogogog');
console.log('gogogogog');
console.log('gogogogog');
console.log('gogogogogV');