Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Primitive Data Types
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
John Nunemaker
PRO
September 03, 2009
Programming
22
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Primitive Data Types
John Nunemaker
PRO
September 03, 2009
More Decks by John Nunemaker
See All by John Nunemaker
Remote First: Building Distributed Teams that Win
jnunemaker
PRO
1
170
AI: The stuff that nobody shows you
jnunemaker
PRO
8
760
Atom
jnunemaker
PRO
10
5.2k
MongoDB for Analytics
jnunemaker
PRO
11
1.1k
Addicted to Stable
jnunemaker
PRO
32
2.9k
MongoDB for Analytics
jnunemaker
PRO
21
2.3k
MongoDB for Analytics
jnunemaker
PRO
16
30k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.9k
Why NoSQL?
jnunemaker
PRO
10
1k
Other Decks in Programming
See All in Programming
ECSアプリログをFireLensでコスト削減しようとしたけど諦めた話 in Fargate×Node.js
akihisaikeda
2
4.2k
Hatena Engineer Seminar #37「言語モデルの活用に関する研究」
slashnephy
0
470
Generative UI & AI-Assistants for Your Angular Solutions
manfredsteyer
PRO
0
110
吝嗇家のためのAI活用 / AI development for miser - ChatGPT + Issue Driven Development
tooppoo
0
170
1B+ /day規模のログを管理する技術
broadleaf
0
120
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.7k
Skillsは効率化、Agentsは"自分の拡張"——Builder時代のエージェント編成(CC Night 2026)
wemra
1
190
AIで効率化できた業務・日常
ochtum
0
160
AIを活用したE2Eテスト実装効率化のあゆみ / ebisu-mobile-14-kotetu
kotetuco
0
160
PHPで使える日時の表現と、その知り方 #frontend_phpcon_do
o0h
PRO
0
290
Signal Forms: Details & Live Coding @enterJS 2026 in Mannheim
manfredsteyer
PRO
0
210
Vue × Nuxt × Oxc どこまで使える?実運用の現在地
andpad
0
350
Featured
See All Featured
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
480
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
The Language of Interfaces
destraynor
162
27k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
180
Side Projects
sachag
455
43k
エンジニアに許された特別な時間の終わり
watany
107
250k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
270
30 Presentation Tips
portentint
PRO
1
340
Raft: Consensus for Rubyists
vanstee
141
7.6k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Building AI with AI
inesmontani
PRO
1
1.1k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
310
Transcript
Data Types Thursday, September 3, 2009
undefined any variable that has not been assigned a value
and any property of an object that does not exist Thursday, September 3, 2009
null indicates that variable has been declared but defined empty
Thursday, September 3, 2009
number • values that can be processed and calculated •
can be positive or negative • represented internally as a double, accurate to 14 or 15 digits Thursday, September 3, 2009
number Thursday, September 3, 2009
number calculations Thursday, September 3, 2009
Math! http://www.w3schools.com/jsref/jsref_obj_math.asp Thursday, September 3, 2009
string • sequence of characters enclosed with quotation marks •
can use single or double quotes • cannot use quotes of the same type inside the same type unless they are escaped http://www.w3schools.com/jS/js_obj_string.asp Thursday, September 3, 2009
string characters Thursday, September 3, 2009
string characters Thursday, September 3, 2009
everything is zero indexed j a v a s c
r i p t 0 1 2 3 4 5 6 7 8 9 Thursday, September 3, 2009
string characters (shortcut) Thursday, September 3, 2009
string characters (shortcut) Thursday, September 3, 2009
string escaping cannot use quotes of the same type inside
the same type unless they are escaped Thursday, September 3, 2009
same quotes no escape FAIL! Thursday, September 3, 2009
meet the escape character \ Thursday, September 3, 2009
same quotes with escape WIN! Thursday, September 3, 2009
same quotes no escape FAIL! Thursday, September 3, 2009
same quotes with escape WIN! Thursday, September 3, 2009
different quotes WIN! Thursday, September 3, 2009
different quotes WIN! Thursday, September 3, 2009
string length Thursday, September 3, 2009
string search Thursday, September 3, 2009
changing string case Thursday, September 3, 2009
string to number Thursday, September 3, 2009
string to number Thursday, September 3, 2009
string to number Thursday, September 3, 2009
“class is awesome”.charAt(2) Thursday, September 3, 2009
“class is awesome”.charAt(2) “a” Thursday, September 3, 2009
“class is awesome”[0] Thursday, September 3, 2009
“class is awesome”[0] “c” Thursday, September 3, 2009
how do I get the length of “football” Thursday, September
3, 2009
how do I get the length of “football” “football”.length Thursday,
September 3, 2009
“football”.length Thursday, September 3, 2009
“football”.length 8 Thursday, September 3, 2009
“football”.indexOf(‘e’) Thursday, September 3, 2009
“football”.indexOf(‘e’) -1 Thursday, September 3, 2009
“football”.indexOf(‘foot’) Thursday, September 3, 2009
“football”.indexOf(‘foot’) 0 Thursday, September 3, 2009
what type is: ‘asdf’ Thursday, September 3, 2009
what type is: ‘asdf’ “string” Thursday, September 3, 2009
what type is: 15 Thursday, September 3, 2009
what type is: 15 “number” Thursday, September 3, 2009
what type is: -’15’ Thursday, September 3, 2009
what type is: -’15’ “number” Thursday, September 3, 2009
10 + 20 Thursday, September 3, 2009
10 + 20 30 Thursday, September 3, 2009
boolean true or false http://www.w3schools.com/jS/js_obj_boolean.asp Thursday, September 3, 2009