Javascript Console Log Kullanımı

Kullanımı

Javascript Console Log Kullanımı. Consolelog method is one of the most popular and widely used method to do this job. Fakat javascript ile web projeleri geliştiriken console ekranında nesnelerin değişimini değişkenlerin durumunu görmek alert ile ekrana bastırmaktan çok çok daha iyidir.

Javascript Tips Tricks Go Beyond Console Log Learn To Code Together
Javascript Tips Tricks Go Beyond Console Log Learn To Code Together

Now lets make it better with consoletable. Here is the output when we use console. You can click on the headers of each column to sort that column.

Template literals kullanımı template literals önceki adıyla template strings kod okunabilirliği ve yazım kolaylığı sağlayan es6 ile gelmiş bir string yazma şeklidir.

Notice the s in the first argument string. We can add css styles to console log output with the c tag. Const language thisconverstaionlanguage. This is a great feature to get a quick overview.