Language
English
عربي
Tiếng Việt
русский
français
español
日本語
한글
Deutsch
हिन्दी
简体中文
繁體中文
API
Home
How To Use
Language
English
عربي
Tiếng Việt
русский
français
español
日本語
한글
Deutsch
हिन्दी
简体中文
繁體中文
Home
Detail
@vscode: Always learning a new quirk of JavaScript #vscode #developer #techtok #codetok #programming #javascript
Visual Studio Code
Open In TikTok:
Region: US
Friday 14 October 2022 19:52:26 GMT
98447
4603
133
65
Music
Download
No Watermark .mp4 (
0.2MB
)
No Watermark(HD) .mp4 (
0.49MB
)
Watermark .mp4 (
0.28MB
)
Music .mp3
Comments
Divini :
Use TypeScript omg
2022-10-14 20:03:54
161
Jimmy Gross :
It’s because you’d often combine string values, but you’d never subtract string values, makes no sense. Not that strange/
2022-10-14 20:08:19
86
Rob :
Does that mean that ‘3’ - - ‘1’ === 4?
2022-10-14 20:52:34
40
umbreon222 :
Reasons why strongly typed languages help in big ways
2022-10-14 21:02:25
27
Kent :
All the folks yelling typescript forget that linters exist.
2022-10-17 05:45:35
1
user1133924202256 :
Yep it called type coercion. Expected behavior
2022-10-15 14:14:32
3
only1Captain :
the fact that many people didn't understand made me proud of me😂
2022-10-15 00:30:30
0
Void :
this seems like such a bad idea
2022-10-25 09:15:13
0
chris :
Yes because it will subtract the utf codes of chars 51-50=1
2022-10-16 17:45:36
1
Tic et Tac :
that's expected, nothing strange here
2022-10-17 21:21:12
1
Sivert :
THIS IS WJY TYPESCRIPT OS SUPERIOR AAAAAHH All the people in the comments making fun of TS, HERES YOUR PROOF🥺
2022-10-15 00:26:59
1
JonnyTrav :
This concept is called type coercion. You can’t subtract strings onbviously so it assumes you meant #s
2022-11-19 04:32:44
1
The Elite Gentleman :
That's why I use proper language like Java and C++...😂😂😂
2022-10-24 00:07:05
1
Yoyo :
well you can't really substract strings so it kinda makes sense
2022-10-14 20:27:35
4
melamit.work :
yes
2022-11-03 19:01:49
0
🎓Python Foundations🎓 :
Wat
2022-10-15 01:14:33
1
Laura Sofia :
{} - [] = -0 and I never recovered after learning this...
2022-10-19 23:06:21
2
cem :
this isn‘t nothing new tho
2022-10-19 21:35:18
0
yusuf :
wait what
2022-10-14 19:58:09
19
Shadow :
I will never understand people who use JS without ever learning about how type coercion works. That's literally the most basic example of it
2022-10-16 01:20:10
1
Dimosthenis M. :
hello can i ask something about javascript?
2022-11-30 19:03:43
0
GET :UCKY :
node .
2022-10-19 11:18:18
0
Matthew :
This is why you use typescript
2022-10-16 08:26:14
1
iange38 :
This video teaches me a lot, im new to js
2022-10-19 16:51:37
0
msezng :
const a : string = “3”; const b : string = “2”; a - b will return type error
2022-10-15 02:36:06
0
To see more videos from user @vscode, please go to the Tikwm homepage.
Other Videos
#পাইলট #creatorsearchinsights @tiktokofficialbangladesh
Replying to @awais.jani692 ❤️💓🌹🦋🦋🌷❤️🦋#100kvews #unfrezmyaccond
"Today marks 15 years of our all-time favorite anime. Let’s binge some episodes to celebrate!" #lovelive #loveliveedit #loveliveschoolidolproject #lovelivesunshine #lovelivenijigasaki #lovelivesuperstar #lovelivehasunosora #lovelivemusicalthedrama #lovelivebluebird
محمد مصطفیٰ کی ہر ادا سے پیار کرتا ہوں #naatsharif #newnaat #tranding
lovable is seriously a game changer for building websites 😮💨 also idk why my audio cut out towards the end 😩 #lovablepartner #aiwebsites #creatorsearchinsights
#😂😂😂
About
Robot
API
Legal
Privacy Policy