Unanswered questions in Java-Script

0 votes
0 answers

How to sum the values of a javascript object?

I'm currently facing an issue while trying ...READ MORE

Sep 25, 2023 in Java-Script by anonymous
• 1,170 points
234 views
0 votes
0 answers

How to sum the values of a javascript object?

I'm currently facing an issue while trying ...READ MORE

Sep 25, 2023 in Java-Script by anonymous
• 1,170 points
260 views
0 votes
0 answers

How to sum the values of a javascript object?

I'm currently facing an issue while trying ...READ MORE

Sep 25, 2023 in Java-Script by anonymous
• 1,170 points
177 views
0 votes
0 answers

How to sum the values of a javascript object?

I'm currently facing an issue while trying ...READ MORE

Sep 25, 2023 in Java-Script by Tanishqa
• 1,170 points
140 views
0 votes
0 answers

I Want To Print 1 to 100 Numbers Using Arrays In Javascript Only

<!DOCTYPE html> <html> <head> <title>100-Numbers</title> </head> <body> ...READ MORE

Nov 16, 2022 in Java-Script by Ashwini
• 5,430 points
1,101 views
0 votes
0 answers

Cannot read property 'push' of undefined when combining arrays

When pushing an array's contents to another ...READ MORE

Nov 16, 2022 in Java-Script by Ashwini
• 5,430 points
367 views
0 votes
0 answers

map function for objects (instead of arrays)

I have an object: myObject = { 'a': ...READ MORE

Nov 16, 2022 in Java-Script by Ashwini
• 5,430 points
433 views
0 votes
0 answers

When do Java generics require <? extends T> instead of <T> and is there any downside of switching?

Given the following example (using JUnit with ...READ MORE

Sep 29, 2022 in Java-Script by Abhinaya
• 1,160 points
1,230 views
0 votes
0 answers

What is the volatile keyword useful for?

Sep 29, 2022 in Java-Script by Abhinaya
• 1,160 points
485 views
0 votes
0 answers

in java what does the @ symbol mean?

I am aware of what it implies ...READ MORE

Sep 29, 2022 in Java-Script by Abhinaya
• 1,160 points
355 views
0 votes
0 answers

OSMdroid tiles not loading due to java.net.UnknownHostException

OpenStreetMap import and usage are required as ...READ MORE

Sep 29, 2022 in Java-Script by Abhinaya
• 1,160 points
649 views
0 votes
0 answers

Basic use of JSONPath in Java

JSON and a JSONPath are both strings ...READ MORE

Sep 29, 2022 in Java-Script by Abhinaya
• 1,160 points
688 views
0 votes
0 answers

What is the difference between ' and " in JavaScript?

I came across this query and am ...READ MORE

Sep 23, 2022 in Java-Script by Abhinaya
• 1,160 points
386 views
0 votes
0 answers

How do I check if an array includes a value in JavaScript?

What is the quickest and most effective method to determine whether a JavaScript array has a value? The only method I am aware of is as follows: function contains(a, obj) { ...READ MORE

Sep 23, 2022 in Java-Script by Abhinaya
• 1,160 points
420 views
0 votes
0 answers

Convert javascript array to string

I'm attempting to create a string out of a "value" list by iterating over it.  This is the key: var blkstr = $.each(value, function(idx2,val2) { ...READ MORE

Sep 23, 2022 in Java-Script by Abhinaya
• 1,160 points
324 views
0 votes
0 answers

Sort a single String in Java

Is there a primary way to sort a ...READ MORE

Sep 23, 2022 in Java-Script by Abhinaya
• 1,160 points
328 views
0 votes
0 answers

How does the "Using" statement translate from C# to VB?

Example: BitmapImage bitmap = new BitmapImage(); byte[] buffer = ...READ MORE

Sep 23, 2022 in Java-Script by Abhinaya
• 1,160 points
379 views
0 votes
0 answers

How to set JAVA_HOME environment variable on Mac OS X 10.9?

I just purchased a brand new MacBook ...READ MORE

Sep 22, 2022 in Java-Script by Tejashwini
• 3,820 points
502 views
0 votes
0 answers

How do I resolve ClassNotFoundException?

I am trying to run a Java ...READ MORE

Sep 22, 2022 in Java-Script by Tejashwini
• 3,820 points
229 views
0 votes
0 answers

java.net.ConnectException: Connection refused

The server side of my attempt to ...READ MORE

Sep 22, 2022 in Java-Script by Tejashwini
• 3,820 points
464 views
0 votes
0 answers

What is difference between mutable and immutable String in java?

As far as I know, An immutable string ...READ MORE

Sep 22, 2022 in Java-Script by Tejashwini
• 3,820 points
273 views
0 votes
0 answers

Why is String immutable in Java?

When interviewed, I was questioned as to ...READ MORE

Sep 22, 2022 in Java-Script by Tejashwini
• 3,820 points
288 views
0 votes
0 answers

Convert list to array in Java

How can I convert a List to an Array in Java? Check ...READ MORE

Sep 22, 2022 in Java-Script by Tejashwini
• 3,820 points
258 views
0 votes
0 answers

Java - Convert integer to string

Given a number: int number = 1234; Which would ...READ MORE

Sep 22, 2022 in Java-Script by Tejashwini
• 3,820 points
308 views
0 votes
0 answers

Why am I getting a NoClassDefFoundError in Java?

When I execute my Java application, I ...READ MORE

Sep 22, 2022 in Java-Script by Tejashwini
• 3,820 points
287 views
0 votes
0 answers

Javascript call() & apply() vs bind()?

I am already aware that the functions ...READ MORE

Sep 22, 2022 in Java-Script by Tejashwini
• 3,820 points
349 views
0 votes
0 answers

What could cause java.lang.reflect.InvocationTargetException?

I've attempted to comprehend and read about potential causes, but I just don't get it: I have the following code try{ .. m.invoke(testObject); .. } catch(AssertionError e){ ...READ MORE

Sep 22, 2022 in Java-Script by Tejashwini
• 3,820 points
1,020 views
0 votes
0 answers

How can I solve "java.lang.NoClassDefFoundError"?

I've tried both the examples in Oracle's Java ...READ MORE

Sep 20, 2022 in Java-Script by Tejashwini
• 780 points
607 views
0 votes
0 answers

NullPointerException: Attempt to invoke virtual method 'int java.util.ArrayList.size()' on a null object reference

I'm a newbie to Fragments and custom ListView adapters. Can anyone ...READ MORE

Sep 20, 2022 in Java-Script by Tejashwini
• 780 points
1,183 views
0 votes
0 answers

Exception in thread "main" java.util.NoSuchElementException

Whenever I run this, the chooseCave() function works fine ...READ MORE

Sep 20, 2022 in Java-Script by Tejashwini
• 780 points
735 views
0 votes
0 answers

How can I solve Exception in thread "main" java.lang.NullPointerException error

I am having a problem at a ...READ MORE

Sep 20, 2022 in Java-Script by Tejashwini
• 780 points
371 views
0 votes
0 answers

How to reset a form using jQuery with .reset() method

My code : <div id="labels"> <table class="config"> ...READ MORE

May 24, 2022 in Java-Script by Kichu
• 19,050 points
504 views
0 votes
0 answers

Length of a JavaScript object

I have a Javascript object and want ...READ MORE

May 23, 2022 in Java-Script by Kichu
• 19,050 points
344 views
0 votes
0 answers

How do you reverse a string in-place in JavaScript?

How do you reverse a string in ...READ MORE

May 23, 2022 in Java-Script by Kichu
• 19,050 points
207 views
0 votes
0 answers

Convert Array to Object

How can I convert this : ['a','b','c'] To this: { ...READ MORE

May 19, 2022 in Java-Script by Kichu
• 19,050 points
359 views
0 votes
0 answers

JavaScript Array splice vs slice

What is the difference between splice and ...READ MORE

May 17, 2022 in Java-Script by Kichu
• 19,050 points
334 views
0 votes
0 answers

JS file gets a net::ERR_ABORTED 404 (Not Found)

I am trying to separate my <script> inside my HTML ...READ MORE

May 16, 2022 in Java-Script by Kichu
• 19,050 points
6,145 views
0 votes
0 answers

How do I completely uninstall Node.js, and reinstall from beginning (Mac OS X)

My node version is: node -v v0.6.1-pre Then I install ...READ MORE

May 16, 2022 in Java-Script by Kichu
• 19,050 points
948 views
0 votes
0 answers

How to add a class to a given element?

I am trying to create a JavaScript ...READ MORE

May 16, 2022 in Java-Script by Kichu
• 19,050 points
191 views
0 votes
0 answers

TypeError: Converting circular structure to JSON in nodejs

Code : var formData = ({first_name:firstname,last_name:lastname,user_name:username, email:email,password:password}); ...READ MORE

May 13, 2022 in Java-Script by Kichu
• 19,050 points
3,674 views
0 votes
0 answers

TypeError: Router.use() requires middleware function but got a Object

There were some changes made in the ...READ MORE

May 12, 2022 in Java-Script by Kichu
• 19,050 points
6,971 views
0 votes
0 answers

How does Access-Control-Allow-Origin header work?

Until now my understanding of its semantics ...READ MORE

May 11, 2022 in Java-Script by Kichu
• 19,050 points
597 views
0 votes
0 answers

Uncaught TypeError: Cannot read property 'top' of undefined

I have two different kinds of sticky ...READ MORE

May 11, 2022 in Java-Script by Kichu
• 19,050 points
2,671 views
0 votes
0 answers

Sort array of objects by string property value

I have this array of JavaScript objects: var objs ...READ MORE

May 10, 2022 in Java-Script by Kichu
• 19,050 points
611 views
0 votes
0 answers

How can I create a two dimensional array in JavaScript?

Is it possible to create a two-dimensional ...READ MORE

May 9, 2022 in Java-Script by Kichu
• 19,050 points
571 views
0 votes
0 answers

Generate pdf from HTML in div using Javascript

This is my HTML code: <!DOCTYPE html> <html> ...READ MORE

May 9, 2022 in Java-Script by Kichu
• 19,050 points
783 views
0 votes
0 answers

Uncaught SyntaxError: Unexpected end of JSON input at JSON.parse (<anonymous>)

I was trying to change a string ...READ MORE

May 9, 2022 in Java-Script by Kichu
• 19,050 points
6,393 views
0 votes
0 answers

What is the difference between React Native and React?

May 7, 2022 in Java-Script by narikkadan
• 63,420 points
345 views
0 votes
0 answers

Why (null == false) and (null == true) both return false?

I am confused that why console.log(null == ...READ MORE

May 7, 2022 in Java-Script by narikkadan
• 63,420 points
1,013 views
0 votes
0 answers

Response to preflight request doesn't pass access control check

I called a REST API on Amazon ...READ MORE

May 7, 2022 in Java-Script by narikkadan
• 63,420 points
1,515 views