add two numbers javscript dom manipukatiob code example Example: how to add two numbers in javascript let a = 4; let b = 5; document.write(a + b);