Skip to content

Visual Studio Code, rebuilt in Rust

Rust
177 B
Raw Blame
function main() {
	const greeting = 'hello';
	const numbers = [1, 2, 3];
	const total = numbers.reduce((sum, value) => sum + value, 0);
	console.log(greeting, total);
}
main();