super coomit

This commit is contained in:
kogleee committed 2023-10-25 12:42:14 +03:00
commit c85ff4093d
72 files changed
+4145

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
function displaySync(callback) {
callback();
}
console.log('Начало работы программы');
setTimeout(function () {
console.log('timeout 500');
}, 500);
setTimeout(function () {
console.log('timeout 100');
}, 100);
displaySync(function () {
console.log('without timeout');
});
console.log('Завершение работы программы');