Demo

content

[author[source]] [link] [source_link_title]

NEW: DevDocs now comes with syntax highlighting. http://devdocs.io

1
<div style="color: red;">123</div>
1
2
3
4
5
6
7
8
9
//random string
const fun = () -> {
const str = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
let result = '';
for (let i = 0; i < 10; i++) {
result += str[Math.floor(Math.random() * str.length)];
}
return result;
}