added snippet for JS console.log