473,326 Members | 2,081 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

undefined and null

dmjpro
2,476 2GB
plz tell me the difference between undefined and null....

thanks in advance
Feb 12 '07 #1
9 1596
acoder
16,027 Expert Mod 8TB
Also see this article.
Feb 12 '07 #3
dmjpro
2,476 2GB
both of u thanx
Feb 13 '07 #4
dmjpro
2,476 2GB
can u figure me out the void operator


thanx in advance
Feb 13 '07 #5
acoder
16,027 Expert Mod 8TB
See this link.
Feb 13 '07 #6
dorinbogdan
839 Expert 512MB
I found one more comprehensive article (in 2 parts) :
null_vs_undefined
Feb 16 '07 #7
acoder
16,027 Expert Mod 8TB
Good article (though you should read the final thought in part 3 as well).
Feb 16 '07 #8
The last article's permalink has changed and the one referenced above is broken. The new link is:

understanding null and undefined

Cheers,
-Steve
Jan 26 '08 #9
acoder
16,027 Expert Mod 8TB
The last article's permalink has changed and the one referenced above is broken. The new link is:

understanding null and undefined

Cheers,
-Steve
Thanks for the update, Steve, and welcome to TSDN!
Jan 28 '08 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Robert Mark Bram | last post by:
Hi All! I have checked Windows Script help for the Undefined Data Type. It says I should be able to do this: // This method will work if (typeof(x) == "undefined") // do something However,...
4
by: Mike | last post by:
I am having a problem when a field is spaces being undefined. I wasn't sure if the problem was Excel or Javascript, so I thought I would post here first. The users are able to select from a drop...
6
by: John Ramsden | last post by:
.... when the id 'junk' doesn't exist anywhere in the document, instead of returning 'object'?! I am using Javascript for a drop-down menu, slightly adapted from one by Angus Turnbull (see...
7
by: OzThor | last post by:
in javascript, is there a way to test if an array is undefined???? eg... for (var x=0; x<10; x++){ if test_array is undefined then x++ document.write(test_array) if anyone can help,...
13
by: Don Vaillancourt | last post by:
What's going on with Javascript. At the beginning there was the "undefined" value which represented an object which really didn't exist then came the null keyword. But yesterday I stumbled...
3
by: k0t1k | last post by:
Sorry if I am kicking the dead horse, but why null == undefined in Rhino? This is what I got running Rhino shell. $ java -jar js.jar Rhino 1.6 release 1 2004 11 30 js> null == undefined true...
66
by: Mantorok Redgormor | last post by:
#include <stdio.h> struct foo { int example; struct bar *ptr; }; int main(void) { struct foo baz; baz.ptr = NULL; /* Undefined behavior? */ return 0;
6
by: David N | last post by:
Hi All, What is a best way to handle an undefined value object class that returned from a function. I have a function that call the ADO.NET ExecuteScalar() function and returns the object to...
6
by: tshad | last post by:
I have a structure (which happens to be a Java DataBean that contains some string arrays) that is giving me an error. The error at the "for" statement is: Object reference not set to an...
45
by: VK | last post by:
(see the post by ASM in the original thread; can be seen at <http://groups.google.com/group/comp.lang.javascript/browse_frm/thread/3716384d8bfa1b0b> as an option) As that is not in relevance to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.