My Blog

    • Sample Page
Illustration of a bird flying.
  • How to write a hello world example of JavaScript?

    A simple example of JavaScript hello world is given below. You need to place it inside the body tag of HTML.

    October 28, 2022
  • What is the difference between JavaScript and JScript?

    Netscape provided the JavaScript language. Microsoft changed the name and called it JScript to avoid the trademark issue. In other words, you can say JScript is the same as JavaScript, but Microsoft provides it.

    October 28, 2022
  • If we want to return the character from a specific index which method is used?

    The JavaScript string charAt() method is used to find out a char value present at the specified index. The index number starts from 0 and goes to n-1, where n is the length of the string. The index value can’t be a negative, greater than or equal to the length of the string. For example:

    October 28, 2022
  • Define closure.

    In JavaScript, we need closures when a variable which is defined outside the scope in reference is accessed from some inner scope.

    October 28, 2022
  • Define anonymous function

    It is a function that has no name. These functions are declared dynamically at runtime using the function operator instead of the function declaration. The function operator is more flexible than a function declaration. It can be easily used in the place of an expression. For example:

    October 28, 2022
  • Name the types of functions

    The types of function are: Anonymous – These type of functions doesn’t contain any name. They are declared dynamically at runtime.

    October 28, 2022
  • Define a named function in JavaScript.

    The function which has named at the time of definition is called a named function. For example

    October 28, 2022
  • List some of the disadvantages of JavaScript.

    Some of the disadvantages of JavaScript are:

    October 28, 2022
  • Who developed JavaScript, and what was the first name of JavaScript?

    JavaScript was developed by Brendan Eich, who was a Netscape programmer. Brendan Eich developed this new scripting language in just ten days in the year September 1995. At the time of its launch, JavaScript was initially called Mocha. After that, it was called Live Script and later known as JavaScript.

    October 28, 2022
  • List some features of JavaScript.

    Some of the features of JavaScript are:

    October 28, 2022
←Previous Page
1 … 31 32 33 34 35 … 113
Next Page→

My Blog

Proudly powered by WordPress