Preview:
//Dart: can multiply string with number
print('x' * 5) // 'xxxxx';

//JS: cannot multiply string with number
console.log('x' * 5) // NaN;
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter