Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8506125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T02:30:37+00:00 2026-06-11T02:30:37+00:00

In Javascript, like setInterval(draw,20) you don’t include anything like in C#. You can just

  • 0

In Javascript, like setInterval(draw,20) you don’t include anything like in C#. You can just use the function. The function is on the Windows object of the browser.

  1. Can the following objects and its functions be called without any pre-definitions?

    Window
    Navigator
    Screen
    History
    Location
    
  2. Does JavaScript has any built-in functions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T02:30:39+00:00Added an answer on June 11, 2026 at 2:30 am

    In Javscript, there are certain things which are part of the language and will also be there. Native objects, like Array(), String() and Number(). (Not a complete list). These need no prefix in front of them, because there are none.

    In addition, when running on the browser the host environment provides a global variable called window that is the same as the anonymous Javascript global that everything runs in. Methods of the window object include things like alert() and setTimeout()

    Alert can be called with window.alert() or more often by just alert() itself. (Some people consider calling window.alert() best practice to a) show you are calling the global function and b) protect you from any local variables named alert.)

    Clarification:

    The Javascript engine keeps a global variable with no name and not normally accessible. When not running in struct mode, undeclared variables are created as properties in this global object, all global functions are put in the global object and this normally called functions points to the global object.

    When running in the browser, window is the global object.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Whenever I use the splice method in Javascript like so: Array.prototype.mymethod = function() {
I have a script that looks like this : <script type='text/javascript'> $(document).ready(function(){ setInterval(function() {
Let's say I have some simple Javascript like: <script> var hello = function(){ alert(Hello
let's say I have a simple javascript like so: $(document).ready(function(){ if(login == 1) {
Let's say I instantiate an object in Javascript like this: var myObj = new
How can you check an empty tag -field by Javascript like in asking questions
Are there any good reasons for why you would include JavaScript like this: <script
Right now my code looks like this: <script type=text/javascript> $(document).ready(function() { $.ajaxSetup({ cache: false
The window.setTimeout (and related setInterval) function in Javascript allows you to schedule a function
I wrote a class in javascript that looks like this: function main() { this.var1

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.