• Home
  • JavaScript
  • jQuery
  • React JS
  • Python
  • Contact Us
ci3school
Best Programming Tutorials
Category: JavaScript
 

Menu

Skip to content
  • Home
  • JavaScript
  • jQuery
  • React JS
  • Python
  • Contact Us
Powered by Verbosa & WordPress.

Category: JavaScript

How to use switch statement in JavaScript?

admin November 23, 2019 Docker / Git / JavaScript / jQuery / Python / React JS / React NativeLeave a comment

We are learning about decision making in various languages throughout our entire life. In this post, we will see how to use switch statements in JavaScript. You might have seen other decision-making statements like if-else. But the most convenient way is the switch statement as compared to if-else statements. Consider …

Continue reading

How to close current tab in a browser window using JavaScript?

admin November 22, 2019 JavaScriptLeave a comment

In this post, we are going to look at the method to close the current tab of the browser window using JavaScript. In earlier time it was possible to close the current tab by using the window.close() function. The following syntax was used at that time: Syntax: window.close(); But as …

Continue reading

Call multiple JavaScript functions in single onclick event

admin November 22, 2019 Docker / Git / JavaScript / jQuery / Python / React JS / React NativeLeave a comment

You might have a situation where you need to call multiple JavaScript functions in a single onclick event. So in this post, we are going to tackle the same situation. There are two methods to call multiple JavaScript functions : 1. Call the functions by separating them by “;”. for …

Continue reading

How Do You Run JavaScript File Through The Terminal?

admin November 21, 2019 JavaScriptLeave a comment

There might be a situation when you need to check your JavaScript code without using a browser, in that situation what should we do? First of all, you might be surprised “JavaScript code without browser?”. Yes, it is possible by using NodeJs Runtime Environment. You can run your JavaScript file …

Continue reading

How To Get a List of Associative Array Keys in JavaScript?

admin November 21, 2019 JavaScriptLeave a comment

Associative Array: It is simply a set of key-value pairs. The value is stored in association with its key and if you provide the key the array will return the value. This is all a PHP associative array is and the name comes from the association between the key and …

Continue reading

How To Make an Array of Functions in Javascript?

admin November 21, 2019 Docker / Git / JavaScript / jQuery / Python / React JS / React NativeLeave a comment

It’s very common to use array in our code to write the cleaner code especially when you are dealing with multiple variables. But the question is “Have you ever made an array of functions?”. If your answer is No then this post is for you. Yes, today we are going …

Continue reading

Posts navigation

1 2