/*
|-----------------------------------------------------
| Example 1: basic use of generics
|-----------------------------------------------------
| 'T' represents a dinamyc type passed to the function
|
*/
// function identity<T>(arg: T): T {
// return arg;
/**
* Print a text and overwrite it (on the output) on a next call (terminal use only).
*
* @param string $text
* @return void
*/
function print_overwriting(string $text): void
{
static $isFirstCall = true;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Client LAB</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.6.10/vue.min.js"></script>
</head>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Client LAB</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.6.10/vue.min.js"></script>
</head>
<body>
Add the Hammer JS library to your project (https://hammerjs.github.io)
<script src="http://hammerjs.github.io/dist/hammer.min.js"></script>
Add the Animate CSS library to your project (https://daneden.github.io/animate.css/)
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.min.css">