DrSchool Learn coding, fast.
EN AR BN CS DE EL Search

Variables — Example 20

Quick explanation + ready code for: Variables.

Rust Variables Back to examples
Back to language
Syntax: Variables in Rust. ID: #20

Code

const name = "DrSchool";
let count = 17;
console.log(name, count);

Notes

You can copy this snippet and adapt it. For advanced, add real-world inputs, edge cases, and tests.