Курсы
Курсы
Компилятор кода
Компилятор кода
Обсуждения
Цены
Teams
Войти
Регистрация
Menu
Обсуждения
Поиск
Поиск
Задать вопрос
Задать вопрос
in this case var keyword is not working in function block.why??
javascript
0 голосов
3 ответов
11th Jun 2020, 7:06 PM
vardhan js
Why i am unable to use global variable in other function?
javascript
var
1 голос
9 ответов
5th Mar 2020, 4:43 PM
ABHISHEK
Please what is operands
var
0 голосов
3 ответов
26th Apr 2018, 5:06 PM
Okechukwu Joshua
Can someone explain this line of code to me? var distance = parseInt(readLine(), 10);
javascript
2 голосов
3 ответов
14th Jul 2021, 4:42 AM
Josue Mata
What do you do with this? Var x=50; if (x>42){ document.write(x%10)} document.write(42)
challenges
javascript
2 голосов
4 ответов
22nd May 2017, 10:11 PM
Raz
Discuss Module 7 Quiz 1/6 Fill in the blanks to change the content of all paragraph tags of the page to "SoloLearn". var arr =
javascript
8 голосов
28 ответов
27th Jan 2017, 5:23 AM
VishalYumnam
How to add var to the list in other list?
lists
python
0 голосов
1 ответ
14th Aug 2018, 3:20 PM
Сергей Славский
How would I use a var from inside a function, outside of that function?
beginner
javascript
0 голосов
10 ответов
22nd Jul 2017, 12:02 AM
Danj Wood
How To scan input as a path in string var in java?
java
1 голос
2 ответов
26th Jun 2022, 6:03 AM
RTB
if var is declare in global so why can't use in function?
php
variables
0 голосов
5 ответов
16th Aug 2016, 3:46 AM
Ravi Luhar
how come i cant do var z, then do z = x+y
c#
0 голосов
5 ответов
17th Dec 2016, 5:28 PM
chorditronix
Is anyone able explain modulus in JavaScript to me?
var
0 голосов
1 ответ
17th Nov 2019, 5:31 PM
Joshua
What is that mean var and when we use it
c#
variables
0 голосов
2 ответов
16th Aug 2016, 1:03 PM
Rami Salim
What is the better way to define my variable ? Should I use int var = 10 or int var (10) ? = or () ?
c++
variables
0 голосов
4 ответов
15th Sep 2016, 9:50 AM
MARINA
var a = 8; a = a + a / (a % 3); document.write(a); //output= 12 //do u have any explanation?
var
0 голосов
3 ответов
17th Jun 2017, 12:09 AM
islam moheb
Why do we use" new" before ARRAY and DATE in declaration??
var
0 голосов
3 ответов
17th Aug 2017, 6:00 AM
J.SAIKIRAN
can someone explain the x.length-1 in this program and why sum ends up to be 7? var x=[1,4,2,1]; var sum=0; for (i=0;i<x.length-1;i++){ sum+=x[i]; } document.write(sum)
javascript
1 голос
2 ответов
16th Sep 2016, 1:23 PM
Mercurius
Are the technique for use var and generic types are closed?
c#
generics
var
0 голосов
3 ответов
13th Mar 2017, 8:52 PM
Ivaylo Naydenov
Что выводит это код <script> var x='res_x'; let y='res_y'; console.log(this.x); console.log(this.y); </script>
javascript
2 голосов
1 ответ
5th Jul 2019, 8:48 AM
Muhammad
Why does this code have an output of 8? var z=0; for (var x=0;x<4;x++) { z+=2; } document.write(z);
javascript
operators
variables
2 голосов
22 ответов
9th Oct 2016, 3:26 PM
Namita
How would I get Math.max to return the var name, not the value?
javascript
math.max
0 голосов
3 ответов
11th Jun 2020, 10:33 AM
Will
Fill in the blanks to declare an integer variable and set its value of 5. _ var = _;
java
operators
1 голос
9 ответов
23rd Nov 2021, 9:27 AM
Roy Duey
Issue: use different var name than str in the example
issue
regular-expressions
-1 голос
1 ответ
29th Jan 2021, 3:18 PM
Erik G
Is declaring variables using var in JavaScript preferred over other languages?
data-types
javascript
variables
1 голос
1 ответ
20th Apr 2018, 2:46 PM
Miapolis
Does var y = 15; not automatically declare y as an int?
c#
0 голосов
2 ответов
2nd Sep 2019, 2:50 PM
Nico van der Merwe
Why did they use var instead of arr for the array?
dom
javascript
1 голос
1 ответ
16th Feb 2019, 10:22 AM
Natale Pisano
Why size of varible var returns a value of 4?
c++
sizeof
1 голос
1 ответ
25th Jan 2018, 9:06 AM
Amit Kumar
var desc: String { return "traveling at \(currentSpeed) mph" }
swift
0 голосов
1 ответ
11th Dec 2016, 11:24 AM
Sandeep Maurya
how to get css top value in a var in js ?
css
get
js
position
style
var
1 голос
1 ответ
29th Jun 2020, 6:57 AM
Divya Mohan
I want to understand this: var x=0 while (x<6) { x ++; } document. write (x); output was 6
js
0 голосов
11 ответов
12th Jun 2018, 1:25 PM
Favor Mofadeke Salako
why var is not updating in js with setinterval .please check code below.
js
setinterval
update
var
1 голос
3 ответов
29th Jun 2020, 10:48 AM
Divya Mohan
why will: Var num; num=42; cause an error while: int myAge; myAge=18; will not? Is it that when working with Var we need to write it like this: Varnum =15; Varnum; number=15;
c#
variables
2 голосов
6 ответов
23rd Jun 2016, 8:38 AM
Programmer
Please someone tell me why the output of var is 100 and not 20?? 😮
cpp
help
pointers
1 голос
6 ответов
6th Apr 2018, 2:46 PM
RiGeL
Can anyone tell me difference between val and var in kotlin in simple term
kotlin
2 голосов
3 ответов
6th Jul 2018, 3:16 PM
Goutam Malviya
Can't we use var as the return type and data type of parameters?
c#
generics
1 голос
4 ответов
15th May 2016, 3:47 PM
Achintya Jaiswal
I get an ERROR (whatever my var is ) cannot be resolved to a variable
arrays
java
loops
1 голос
8 ответов
15th Aug 2016, 10:45 PM
Chuckinator
var n = prompt("Enter radius of circle (cm)", ""); var area = n * n * Math.PI; alert("Area of circle is " + area + " cm");
javascript
0 голосов
3 ответов
22nd Jul 2017, 8:26 AM
Đại Ngư
Shouldn't be the var name be defined before it's use? Please correct me if i am wrong.
c++
encapsulation
1 голос
14 ответов
6th Apr 2017, 4:51 AM
Pranav Banerjee
How to create file and save var value in it by js program ?
javascript
js
0 голосов
4 ответов
26th Dec 2019, 10:33 AM
Anush BUNDELA
Please explain the meaning of this "?" in java language. Using this example int var = (7>5)?7:5;
coding
java
javaprofessionals
professionaldevelopers
programmers
1 голос
8 ответов
26th May 2019, 1:50 PM
Iredafe Owolabi
How do i get a var to multiply a number such as 0.01666
decimal
javascript
output
time
0 голосов
3 ответов
17th Oct 2018, 8:14 AM
Brennan Woodroof
Больше или равно>=
var
0 голосов
1 ответ
10th Oct 2018, 12:11 AM
Natalia Prasolova
Como puedo reproducir un audio en javascript
var
0 голосов
1 ответ
2nd Oct 2019, 1:06 PM
PHG
Why bother using generics when we can use var type? Im asking about c#
generics
0 голосов
3 ответов
11th Mar 2020, 4:05 PM
Emad
how to get input value and set into var selector of jquery?
input
jquery
selectors
variables
1 голос
1 ответ
5th Jul 2020, 2:35 PM
Divya Mohan
How can I print value of var n if one of the argument of constructor of a class and var name is same but different values ?
python3
0 голосов
1 ответ
7th Nov 2020, 6:23 AM
Rajan K
what is object orientation and how to perfect from it in javascript
j++
var
4 голосов
2 ответов
10th Jul 2020, 7:18 PM
Golooba Zubairi
What is the output of this code? var n1; n1 = true; Console.WriteLine(n1);
c#
variables
0 голосов
1 ответ
21st Aug 2018, 10:42 AM
Morapedi Khutwane
fun main(args : Array<String>) { var age = readLine (23) println("I'm acutally " + age) }
kotlin
1 голос
4 ответов
9th Mar 2021, 9:50 AM
Mehedi Hassan
i defined var x = 0704 ; and the o/p was 452 .can some one explain why
javascript
variables
0 голосов
11 ответов
18th Apr 2017, 5:22 PM
vineet pokhriyal
Задать вопрос
Задать вопрос
Задать вопрос
Задать вопрос
< Предыдущий
1
...
6
7
8
...
12
Следующий >
Актуальное сегодня
Hey, is the "Snowflake" mission not working?
0 Votes
Create a program that will allow user to input grades from five subjects and display the average grade.
1 Votes
Bug in the answers checking algorithms?
1 Votes
Html
2 Votes
I want to learn Lua but don’t know where
3 Votes
Detach thread exception
1 Votes
Certificate use
1 Votes
Need a tutor on Java
0 Votes
Error: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row:
1 Votes
PYTHON New bee
0 Votes