Javascript Chp 9 String Methods

 /*let a = 'Akash'

let b = "Priti \n and her best friends"

console.log(a, b);
console.log(a+b);
*/

/*
--Brackets are always calculated first --
console.log('$' + (600 + 80) / 100);
*/

console.log('Items (' + (1 + 1) + '): $'+(600+80)/100);

Comments

Popular posts from this blog

HTML FORMS

FORM STYLING IN CSS