fetch('html').then(function(response){
response.text().then(function(text) {
alert('hi'); }
}
------------------------------------------------
Ajax를 배우면서 위 코드가 있는데,
최대한 풀어서 설명 부탁드립니다.
fetch('html').then(function(response){
response.text().then(function(text) {
alert('hi'); }
}
------------------------------------------------
Ajax를 배우면서 위 코드가 있는데,
최대한 풀어서 설명 부탁드립니다.
진짜 토나온다 arrow function 써라
async await 써라