background top icon
background center wave icon
background filled rhombus icon
background two lines icon
background stroke rhombus icon

Download "Javascript - операторы сравнения - 11"

input logo icon
Video tags
|

Video tags

C#
visual studio
.net
.net core
asp net
asp net core
.net 5
programming
уроки программирования
программирование
microsoft
unity
Js - операторы сравнения - 11
операторы сравнения
операторы сравнения в js
js
javascript
react
angular
операторысравнения
видеоурок
Subtitles
|

Subtitles

subtitles menu arrow
  • ruRussian
Download
00:00:02
comparison operators, first we will write
00:00:09
the output on the screen for example we have a
00:00:15
comparison greater than less equals not to be confused
00:00:23
with assignment and not equal these are the basic
00:00:26
operators for example we will write two is greater than
00:00:30
one what we will write will actually
00:00:35
write a Boolean value that is write
00:00:38
pipes this is true 2 is really greater than
00:00:41
one if we compare two equals
00:00:45
one she will write no hair 2 is not equal to
00:00:50
one
00:00:53
great let's write 2 is not equal to
00:00:56
one now it will write true
00:01:00
good with the basic operators we understand
00:01:03
let's complicate the task for example we
00:01:09
want to compare
00:01:10
these values
00:01:19
in this case we we compare the
00:01:21
Cyrillic symbols I and we see that I is
00:01:26
greater than a, good, but if we
00:01:30
do this, I is greater than x, it will actually
00:01:36
write fall and I will explain why
00:01:41
the comparison here is not alphabetical,
00:01:44
as we think about, by the utf-8 encoding,
00:01:50
most likely that is, this a special
00:01:54
table in which
00:01:57
some symbol of different alphabets is written in different cells under different numbers,
00:01:59
while a is
00:02:02
located later than a, the big one, for example, and the
00:02:07
big Russian one, for example, I like
00:02:10
Cyrillic, it is earlier in the
00:02:14
table, so it is considered smaller, and the
00:02:16
small one is located later, so it is not
00:02:18
considered more here is
00:02:19
the same here and here great
00:02:26
let's compare another thing compare
00:02:35
for example the string 2
00:02:38
with one we already know that some
00:02:44
operators work with strings with
00:02:46
strings works plus everything else
00:02:48
works with numbers
00:02:50
so 2 is converted to the number 2 over
00:02:53
one to over so joe
00:02:55
everything is logical, let's do it like this: 0101
00:03:03
is converted into a number, this number is 11,
00:03:08
there is no more than one, but if here we do
00:03:11
equal to 1 equal to 1 to equal to excellent, then
00:03:18
we can do the same thing
00:03:22
instead of comparing, we take some
00:03:25
variable
00:03:28
for example years and and equal to one and here we are
00:03:32
this hey we can lead to a broth with a big
00:03:40
boolean
00:03:41
hey hey is equal to one so here will be
00:03:44
john
00:03:46
great there is also another
00:03:53
equality in this case we are looking at a
00:03:55
loose equality what is the difference
00:03:58
let's see for example 0 is equal to 0
00:04:04
phones actually it says yes
00:04:08
why because falls is converted to a
00:04:11
number to the number of falls will be 0 0 is equal to 0 to is
00:04:14
equal further is equal to is the empty string falls is an
00:04:21
empty string is converted to zero is
00:04:23
the phallus to be converted to rudder therefore 0 is equal to
00:04:26
0 to is equal to
00:04:28
but if we compare through strict
00:04:32
equality for example 0 is 0 equal to through
00:04:37
strict equality 3 is equal and here we
00:04:41
get house because according to strict
00:04:43
equality is not equal,
00:04:44
that is, what is the conclusion?
00:05:09
strict
00:05:11
equality operator is excellent, let's compare
00:05:14
such values ​​for strict equality,
00:05:17
for example, cash strict equality ondemand,
00:05:22
we remember that we have to those who
00:05:26
point to some empty
00:05:29
area, roughly speaking, that is,
00:05:32
nothing is stored there and find and this is when the
00:05:35
value of this was not assigned to us at all
00:05:38
here the comparison will give falls, but if we
00:05:42
take a non-strict equality, then these
00:05:45
values ​​are equal to each other, just like that,
00:05:53
let’s look at other oddities
00:05:54
so that they can be understood,
00:05:56
let’s compare, but for a non-strict equality,
00:06:02
we will succeed,
00:06:03
but for more than zero, in fact, it will
00:06:09
fall, why not with us transforms to
00:06:19
zero here, that is, 0 is greater than zero, this
00:06:24
is not true, for example, y is equal to zero, but
00:06:33
it seems that this is also not true, why the
00:06:40
same thing, I won’t say why for now,
00:06:49
just say it like this, but there is another
00:06:54
other point if we talk about y
00:06:57
more is equal to zero and this is all true, that is, this is where we
00:07:05
are reduced to
00:07:08
zero 0 is greater than equal to zero, in principle, yes,
00:07:14
so here,
00:07:15
but let’s say rare features, you just
00:07:19
need to know about them that they can be
00:07:21
next, let’s look at such a thing and
00:07:24
find the means that it was not something is
00:07:29
assigned and ondemand we
00:07:32
always have hair in this case,
00:07:36
of course, but when comparing, that is, it
00:07:39
define is greater than 0 no falls and i find
00:07:43
less for also falls on define is
00:07:46
equal to zero also falls why because
00:07:51
here it define is reduced to
00:07:53
not in under that is, we cannot
00:07:58
add underpants by some number and
00:08:00
immediately here the notes number it
00:08:02
gives us a fuse bar in this case, excellent, that is,
00:08:08
everything we said so that this does not happen
00:08:12
when comparing, you need to use strict
00:08:14
equality and when everything is correct for you

Description:

Материал взят c сайта learn.javascript.ru В этом видео мы рассмотрим основные операторы сравнения в JavaScript и узнаем, как они помогают сравнивать значения различных типов данных. Группа по изучению программирования - https://discord.com/invite/vmyEXf2HT5 Все плейлисты: https://www.youtube.com/channel/UCP_0FkzSCl-7V0Jv6ZaDszQ/playlists?view_as=subscriber

Preparing download options

popular icon
Popular
hd icon
HD video
audio icon
Only sound
total icon
All
* — If the video is playing in a new tab, go to it, then right-click on the video and select "Save video as..."
** — Link intended for online playback in specialized players

Questions about downloading video

mobile menu iconHow can I download "Javascript - операторы сравнения - 11" video?mobile menu icon

  • http://unidownloader.com/ website is the best way to download a video or a separate audio track if you want to do without installing programs and extensions.

  • The UDL Helper extension is a convenient button that is seamlessly integrated into YouTube, Instagram and OK.ru sites for fast content download.

  • UDL Client program (for Windows) is the most powerful solution that supports more than 900 websites, social networks and video hosting sites, as well as any video quality that is available in the source.

  • UDL Lite is a really convenient way to access a website from your mobile device. With its help, you can easily download videos directly to your smartphone.

mobile menu iconWhich format of "Javascript - операторы сравнения - 11" video should I choose?mobile menu icon

  • The best quality formats are FullHD (1080p), 2K (1440p), 4K (2160p) and 8K (4320p). The higher the resolution of your screen, the higher the video quality should be. However, there are other factors to consider: download speed, amount of free space, and device performance during playback.

mobile menu iconWhy does my computer freeze when loading a "Javascript - операторы сравнения - 11" video?mobile menu icon

  • The browser/computer should not freeze completely! If this happens, please report it with a link to the video. Sometimes videos cannot be downloaded directly in a suitable format, so we have added the ability to convert the file to the desired format. In some cases, this process may actively use computer resources.

mobile menu iconHow can I download "Javascript - операторы сравнения - 11" video to my phone?mobile menu icon

  • You can download a video to your smartphone using the website or the PWA application UDL Lite. It is also possible to send a download link via QR code using the UDL Helper extension.

mobile menu iconHow can I download an audio track (music) to MP3 "Javascript - операторы сравнения - 11"?mobile menu icon

  • The most convenient way is to use the UDL Client program, which supports converting video to MP3 format. In some cases, MP3 can also be downloaded through the UDL Helper extension.

mobile menu iconHow can I save a frame from a video "Javascript - операторы сравнения - 11"?mobile menu icon

  • This feature is available in the UDL Helper extension. Make sure that "Show the video snapshot button" is checked in the settings. A camera icon should appear in the lower right corner of the player to the left of the "Settings" icon. When you click on it, the current frame from the video will be saved to your computer in JPEG format.

mobile menu iconWhat's the price of all this stuff?mobile menu icon

  • It costs nothing. Our services are absolutely free for all users. There are no PRO subscriptions, no restrictions on the number or maximum length of downloaded videos.