Facebook – https://www.facebook.com/TheNewBoston-464114846956315/
GitHub – https://github.com/buckyroberts
Google+ – https://plus.google.com/+BuckyRoberts
LinkedIn – https://www.linkedin.com/in/buckyroberts
reddit – https://www.reddit.com/r/thenewboston/
Support – https://www.patreon.com/thenewboston
thenewboston – https://thenewboston.com/
Twitter – https://twitter.com/bucky_roberts
Original source
41 responses to “Beginner JavaScript Tutorial – 4 – Different Types of Variables”
1.25 speed guys!
Not working cheak it out
<html>
<head>
<title>My first project</title>
<body>
<script type = "text/javascript">
var har = "Hellow my bitch,"this is the part"";
document.write(har);
</script>
</body>
</html>
Thanks for this tutoring very helpful !! <3
newboston is best website by programming video ,,,,,,,
nice……………..?
Best programming tutorials on youtube ?
can we use var to contain images? (Just Wondering though)
<script type="text/javascript">
var _beef = "joe told mia : " come over my house " ";
document.write (_beef);
</script>
dude your awesome!! I had to learn javascript in school with a 45 minute lecture but I like already know it but u explained it in like 2 mins 25 seconds!!
so in js you use var instead of int, float, char, string etc?
Danke Bucky ??✌️????
bessie is a cow HAHA
So anyways..
shtring
var mylife = null; feelsbadman
Lol I feel like I was being made fun of at 4:28
cool
what is the reason of telling value of true, false or null; it was printing it as true false or null…..not specific value
I'm sooo distracted by him saying that Bessie is a cow….really?
this guy sounds a lot like Adam Scott
I say null is like death, not 0 energy ad consiousness, but null
great!
or you could do this instead of your escape characters
var tuna = 'john said, "boy do i love bessie"'
and that will work just fine, all your doing is using single quotation marks at the beginning and using the normal quotation marks where needed. just a lil hint for yall
Thank you.
GOD keep you.
That is really useful many many Thanks
I come from C++ and Ruby and this is the easiest language I've seen partly because of my experience with object-oriented programming.
Thanks for the lesson Bucky, It help.
Guys, I would suggest using a program called Sublime Text instead of Notepad++, there's more color coding and it's easier to use 😀
where is the other data type used for refering HTML elements?
Nice ,,thanks very understanding in all tutorial:-)
Do variables have type?
Javascript doesn't have variables. Variables exist in languages which assign actual memory addresses. Javascript has names.
In Javascript, values have type. Values are instances of prototype objects of the Javascript Virtual Computer.
it's likely better to think this way:
1) Names label data.
2) Data have types.
The JVC knows five types:
Numbers: 42, 3.14159
Boolean: true / false
Strings: "Howdy"
null: a special keyword denoting a null value
undefined: a top-level property whose value is undefined
var type = "document.write";
type("hi");
I tried that, it sadly didn't work 🙁
bessie is a cow lolol
sHtring
Incredibly interesting.
what if the number is a repeating decimal like 1/3
bessie is a cow kek
Excellent tutorials mate, cheers!
Respect Man
Thank u
Really helpful! Thanks a lot.