Chapter 2 - adishap/advanced-JS-console-logging GitHub Wiki

Advanced Console Log Arguments

  1. console.log("hello","world!",123,"foobar");

  2. can also render objects

  3. console.log("Hey this is %s and today I had %d apples", "adisha" ,2); %s string, %d number %o object 1st argument string

4.cool one..!!!! console.log("Hey this is something %cawesome","color: blue; font-size: 33px") //%c returns css

⚠️ **GitHub.com Fallback** ⚠️