Untitled
3 years ago in HTML
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<button onclick="myfunction()">Click me!</button>
</body>
<script type="text/javascript">
function myfunction(){
setTimeout(funct1(), 3000);
setTimeout(funct2(), 3000);
}
function funct1(){
console.log("Nikko");
}
function funct2(){
console.log("Arguelles");
}
</script>
</html>