Hello Javascript with Google Dev Tools. How to run and learn Javascript Code using Google Dev Tools.

Search for a command to run...

No comments yet. Be the first to comment.
Assume we have 2 different sets of code written differently but solve the same problem and run like this: { Code 1 } # after execution: runtime: 3 seconds memory allocated: 20 GB { Code 2 } # after execution: runtime: 40 seconds memory allocated: 1 G...
I created this post for future reference, with my own examples as I was following along some basic Svelte tutorials that can be found here ( https://svelte.dev/tutorial/ ) Svelt script for first letter uppercase/capital <!-- App.svelte --> <script> l...

Assume we have 2 different sets of code written differently but solve the same problem and run like this: { Code 1 } # after execution: runtime: 3 seconds memory allocated: 20 GB { Code 2 } # after execution: runtime: 40 seconds memory allocated: 1 G...

A company's success or failure may be determined by the ability of a website to effectively communicate its message, encourage customers to do certain activities, and promote its products or services through various marketing channels. If a company ...

Learn python by finding a tutorial series in a form that fits your learning style and stick to it. It can be a video course, a book, or something in between. Apply what you are being taught and mix it up while you do so with examples of your own. To ...





Click "New snippet" and name it whatever you wish. I'll name it "Hello Javascript"
Type in the following code:
function basicFunction(first, second, border, link) {
return border + first + link + second + border;
}
let var1 = 'Hello'
let var2 = 'Javascript'
let sides = '!!'
let between = ' '
let result = basicFunction(first=var1, second=var2, border=sides, link=between);
console.log(result)
Click the run icon/button

Notice the output in the console
!!Hello Javascript!!