This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="progress"></div> | |
<script> | |
function count() { | |
for (let i = 0; i < 1e6; i++) { | |
i++; | |
progress.innerHTML = i; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Hello World</title> | |
</head> | |
<body> | |
<p>Hello World</p> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const GET = async(navigation: any, url: string, sec: boolean = true, baseURL: boolean = true) => { | |
const headers = await getHeaders(sec); | |
const params = { method: "GET", headers }; | |
const requestURL = baseURL ? `${BASE_URL}${url}` : url; | |
const result = await makeRequest(requestURL, params, navigation); | |
return result; | |
}; | |
const makeRequest = async(url: string, params: any, navigation: any) => { | |
try { |