3 19 javascript Nabiał 2018-11-29 15:26:52
click to edit code
                        <!DOCTYPE html>
<html><head></head><body onload="gsh()"><script>
function gsh()
{
	var text = "";
	possible = ["ABCDEFGHIJKLMNOPQRSTUVWXYZ", "abcdefghijklmnopqrstuvwxyz", "0123456789", "!@#$%^&*()_+{}[]|;':<>?,./`~"];
	var characters = parseInt(Math.random() * 248 + 8);
	for(var c = 0; c < characters; ++c)
	{
		var poss = parseInt(Math.random() * 4);
		text += possible[poss].charAt(parseInt(Math.random() * Object.keys(possible[poss]).length));
	}
	console.log(text);
}
</script></body></html>
	
Qache 2018-11-21 10:28:23
javascript od małej litery bez szacunku