#Null Vs Undefined
Explore tagged Tumblr posts
Note
SPeaking of DB, what do you think about Giorno vs Joker? IIRC it's heavily interpretation heavy, but I'm curious to think on who you think would win.
Well, let's start by laying down the ground work in assuming that Joker's feats are equivalent to slaying a God. I still don't know if the creatures like Yaldaboth are truly gods (as in, comparable to SMT's YHVH or Lucifer) but let's say that Sataneal could make Joker a God Slayer.
In terms of destructive power, I'd say Joker is a winner. Obviously. Giorno has never faced a foe even near a God's level of power. Even beyond that, I would think the higher tiers of attacks from Personas probably match the more destructive Stands like Killer Queen. Unlike Golden Experience, which relies on Giorno's quick thinking and abuse of its power to win fights, not raw strength.
Versatility though, I'd honestly say goes to Giorno. If we use P5 The Animation as the basis for what Personas Joker can use, Joker has a good variety of moves between physical attacks with Yoshitsunne and Hecatoncheir, magic with Beelzebub and Vishnu, status through numerous Personas, healing through Pixie, simple range through Seth and White Rider and of course the sheer power of Sataneal. ... But Giorno's power lets him call upon any known animal on planet Earth as a weapon. Not as destructive as Joker's Personas but all Giorno would need is to create an animal with a toxic enough venom or poison and fling them at Joker to kill him (unless Joker can cure status). And because the animals can and will work autonomously from Giorno, he can run and hide while Joker NEEDS to direct his Personas. Which can be impaired by Giorno overloading Joker with life energy. You also have to remember that any damage Joker performs on an animal Golden Experience gives life to will reflect that damage back, making it extra dangerous.
Speaking of- healing ability. This is a weird one. Joker's healing doesn't require raw materials nor time like Giorno's Golden Experience. But it does use his finite resources in MP whereas Stands simply require focus from the user. It's weird where Joker's healing is superior to Giorno's but it's more finite than his.
We have intelligence which...I don't know. Joker is undoubtly intelligent (you wouldn't be able to wrangle the Phantom Thieves and use Personas effectively if you weren't smart in some way) but JoJo as a series basically works as a series of Puzzle Bosses which constantly require you to think outside the box and use EVERYTHING you have to beat them. It's also a written series so there's more time to showcase Giorno's cleverness than a video game/deliberately gimped anime where Joker is restricted.
And then, we have...the arrowheaded elephant in the room. Gold Experience Requiem. A stand that existed for about 4 chapters, had one fight and that's ALL we know in canon. GER's power is very...undefined. We know it's a lot stronger than GE and it's sentient. But it's ability to 'return to zero'?
All we know is it undoes...something.
Does it have to happen to Giorno to work? Maybe, but GER can undo King Crimson's time skip which wasn't necessarily targeted at Giorno. Diavolo intended on using it to kill Giorno but it wasn't directly AIMED at him.
Does it have a range for this? It literally has 'null' for stats so who knows?
Is it incapable of stopping extremely powerful attacks, like nukes? I dunno. It stopped King Crimson which isn't a nuke but is fucking with goddamn TIME.
Does Giorno need to be conscious? Maybe not, Giorno wasn't conscious when GER was reversing the time skip but we don't know if it could, say, stop an attack on a sleeping Giorno.
Could you overcome GER with a god's power? Maybe. Dio Over Heaven in the Eyes of Heaven game couldn't care less about it but that's a non-canon video game and Joker MIGHT be able to resist Dio Over Heaven's ability to rewrite reality.
It honestly depends on if you think Joker's 'will to rebellion' can overcome GER. It was able to overcome Yaldabath's overwritting of the world but GER is a Stand that, itself, fucks with Fate. Both Joker and Giorno are people who break fate itself to be heroes. So...it's really fucking hard to judge.
If you take out GER and Sataneal, Joker likely wins. He's just stronger with powerful options to overwhlem Giorno, who comes from an at least semi-realistic world. There is a chance Joker blows himself up from attacking an animal with a strong attack but Joker's Personas tend to resist at worst the elements they use. But with GER, it all comes down to whose will to overcome is stronger.
4 notes
·
View notes
Text
work google searches: "angular template outlet" "orthodontic pusher tool" "scss mixin" "typescript null vs undefined"
drawing google searches: "ear"
0 notes
Text
🟡 Null vs Undefined in JavaScript! Part 5
JavaScript Interview Question #5
Null vs Undefined in JavaScript | JavaScript Interview Preparation
💻 Null and Undefined may seem similar, but they have key differences in JavaScript! 🧐
In JavaScript, null and undefined are two distinct data types that often confuse beginners and even experienced developers. This article breaks down their differences, practical use cases, and tips to tackle interview scenarios confidently.
youtube
Tips to Ace Interviews
Use real-world scenarios like API responses where null indicates no data, and undefined means the property is missing.
Avoid common pitfalls like confusing their types (typeof null returns "object").
Differentiate system-generated undefined and developer-assigned null with examples.
Watch this quick breakdown to understand what sets them apart and ace that next Javascript interview question! 🚀💼
👉 Don’t forget to like & subscribe for more JavaScript tips
#code#programming#job interview#education#interview preparation#technology#interviewpreparation#youtube#youtubeshorts#watch#Youtube
1 note
·
View note
Text
"Truthiness" (Real world usage and JavaScript)
Before Stephen Colbert aired the contest winning definition for the word "Santorum"; Stephen Colbert performed this segment in 2005.
Equipped with his signature anti-establishment Republic Misogynistic persona; Colbert explained the use of "Truthiness" by right-wing pundits at the time in order to "Win debates against stoned college students." (~ wisecrack video link)
However... Truthiness actually has a logical usefulness.
For example; JavaScript, the internet's favorite scripting language; uses what experts have coined "Truthy Values" when resolving logical comparisons.
If you know if-statements; a logical comparison compares two values based on whether or not they're true or false. Typical languages have strict definitions for what is considered true or not. If you take a bit , a bit can be either one or zero, on or off. If it is off or zero it's typically considered false, and if it's one or on, it's considered true.
Most Languages get strict though, stating that one must be one and true must be true. But not JavaScript.
In order to create a faster way to compare values, JavaScript takes a lot of shortcuts. And in js, 1 can equal true, and 0 can equal false.
So JavaScript introduced the triple comparitor ("===") to do explicit comparison of exact values only. (Which takes more time than it's typical shortcut method.)
With a regular comparitor ("==") false is the same as null, undefined, and sometimes 0.
And true can be anything that isn't "falsy".
Which means you can check if a variable is initialized (or not null) very quickly.
You can even perform operations with a truthy comparison that just isn't possible in other languages.
Example with array definition; Map[]
Map[x]=(Map[x]+1)||0;
That line checks if the index (x) inside the map array is defined and connected to a value. If it isn't, it'll set it to 0; and if it is, it'll increment the value instead.
This means you can start with something "kind of true" or "kind of false" and work it to where you want it through fewer steps than it normally takes to define and use a variable.
It is seriously and autistic way to communicate to people who don't understand what you're doing. And it looks like you're starting from an untruth to get to a truth... Because that is infact what you're doing.
Who this trips up are thinkers who are used to "following the rules" and typical programming paradigms. And stoned college students who aren't following what you're saying anyway.
If you're used to that style of programming, it's like breathing. But if you're not; it's suffocating.
And that's where debates are hung up right now; this style of communication, and truthiness vs truth. And simple definitions on how truth is understood;
"truth is that which isn't explicitly false; and a falsehood is that which isn't explicitly true"
"Everything is grey"
And then there's "Facts". A Fact must be true to be considered a fact, but with the definition "Truth is anything not false" isn't something we're setting to "zero" to be incremented later? Or is it really a fact?
1 note
·
View note
Link
');var c=function()cf.showAsyncAd(opts);if(typeof window.cf !== 'undefined')c();elsecf_async=!0;var r=document.createElement("script"),s=document.getElementsByTagName("script")[0];r.async=!0;r.src="//srv.tunefindforfans.com/fruits/apricots.js";r.readyState?r.onreadystatechange=function()"complete"==r.readyState)r.onreadystatechange=null,c():r.onload=c;s.parentNode.insertBefore(r,s); })(); Saitama vs Goku é uma discussão interminável entre os fãs de animes, mas existe algo que prova definitivamente que Saitama é sim muito mais forte que Goku. Saitama e Goku – ReproduçãoEsta é a prova definitiva de que Saitama é mais forte do que Goku Saitama é um herói de classe B e apenas um velho humano comum. Ele experimenta tudo o que um ser humano comum faz e envelhece com o tempo. Além disso, ele não tem habilidades especiais como poderes regenerativos ou mágicos. Goku, por sua vez, vem de uma raça de guerreiros alienígenas com superpoderes, ele pode voar, usar explosões de ki e aumentar sua força através de suas formas Super Saiyajin. Os saiyajins envelhecem lentamente em comparação com os humanos, como afirma Vegeta na 9ª temporada de Dragon Ball , o que é uma grande vantagem. Apesar dessa enorme lacuna entre sua estrutura básica de DNA, Saitama exibe tanta força quanto um Saiyajin normal sem nenhum esforço. Nas vezes em que ele exerceu um pouco mais do que seu poder normal, é evidente que sua força é comparável aos níveis de Super Saiyajin. O público só pode imaginar o quão poderoso Saitama poderia ficar se ele fosse além de seus socos normais e sérios. Goku treina artes marciais em muitos ambientes diferentes. Ele até foi para outros planetas para melhorar suas habilidades e resistência. Existe até um episódio específico em que ele usa uma máquina de gravidade para treinar abaixo de 100 vezes a gravidade e chega a 10.000 abdominais. Saitama, por outro lado, mencionou apenas manter seu trabalho diário de 100 flexões, abdominais, agachamentos e uma corrida de 10 km. Pelo que aconteceu no anime , parece que não há necessidade de ele melhorar ou mudar. Se o treinamento mais severo aumentou o poder de Goku, isso também deve se aplicar a Saitama. Ele alcançou seu status atual contando apenas com métodos tradicionais. É razoável supor que se Saitama treinasse exatamente da mesma maneira que Goku, ele seria muito mais poderoso que Goku. Reprodução: One Punch ManEmbora ambos os protagonistas sejam poderosos, é evidente que eles têm diferenças gritantes um do outro. Um é um ser extraterrestre faminto por brigas, enquanto o outro é um herói que trabalha meio período em uma loja de conveniência. O fato de eles poderem ser comparados em pé de igualdade em todos mostra que Saitama tem a vantagem nesta batalha de poder. Ele exibe a mesma força sem esforço e ainda tem mais espaço para crescer. Neste ponto, ele nunca precisou usar todo o seu poder, enquanto Goku frequentemente precisa atingir seus limites. Confira também: Dragon Ball Super encontra-se em hiato no momento. O anime encerrou em março de 2018 com o fim do Torneio do Poder. Vale ressaltar, entretanto, que o mangá continua sendo publicado mensalmente com aventuras inéditas. Nesta nova fase, Goku e Vegeta estão diante de um novo desafio: Granolah, o sobrevivente. Este personagem sofreu na mão dos Saiyajins a mando de Freeza no passado, e agora busca vingança. Você pode acompanhar o anime de Dragon Ball Super na íntegra no Crunchyroll, no seu idioma original com legendas em português. Origem: Criticalhits
0 notes
Photo

null vs undefined
143 notes
·
View notes
Photo

JavaScript Tutorial: Null vs. Undefined ☞ http://bit.ly/2NCqSGd #JavaScript #Morioh
#javascript#javascript tutorial#javascript tutorial for beginners#learn javascript for beginners#codequs#morioh
1 note
·
View note
Photo

Null vs. Undefined: What's the Difference? ☞ http://bit.ly/2m0Hb50 #JavaScript #Morioh
#javascript#javascript tutorial#javascript tutorial for beginners#learn javascript for beginners#codequs#morioh
1 note
·
View note
Photo

Null vs. Undefined: What's the Difference? ☞ http://bit.ly/2m0Hb50 #JavaScript #Morioh
#javascript#javascript tutorial#javascript tutorial for beginners#learn javascript for beginners#codequs#morioh
1 note
·
View note
Text
Today I leanred Oct 8 2019
ㅇ오늘 자바스크립트 생활코딩은 줄바꿈 챕터부터 재개했다!
사실 어제 공부한 내용과 겹치는 부분이다. 세미 콜론 ; 을 이용해 문장을 구분짓는 것인데 엔터 키로 줄을 바꿔도 똑똑한 자바스크립트는 이해한다. 그런데 강사님이 강조하셨듯이 <<가독성>>이 중요하기 때문에 줄을 바꾸는 것을 세미콜론으로 하는 것이 좋고 더불어 Tab 키를 사용해 들여쓰기(4칸의 띄어쓰기)를 함으로써 가독성을 높이는 게 좋다. 깨알같이 들여쓰기를 해주고 싶은 문장들이 여러 개라면 드래그해서 탭 키를 한 번만 눌러져면 단번에 됨을 이알았다.. 왜 그 동안 마우스와 방향키로 문장마다 맨 앞에 커서를 갖다 대어서 들여쓰기 했는가!!
뒤이어서 비교 챕터를 보면,
우선 연산자가 나온다. 변수 시간에 보았던 = 이 등호 기호는 대입 연산자이다. 즉 이 등호를 기준으로 왼쪽에 위치한 항에 오른쪽 항을 넣겠다는 뜻이다. 여기까지는 쉽게 직관적으로 받아들일 수 있다!
그런데 이제 == 와 === 의 차이에 대해서 공부했다.
사실 C나 Python에서는 === 와 같이 등호기호를 3번 사용하는 경우를 본 적이 없다. 따라서 저 형태에 대해 뜨악 했지만, 놀랄 이유가 없었다. 내가 기존에 알고 있던 == 가 사실 ===였으니까. 그렇다 영문명은 strict equal operator 이다. 그렇다, 그러면 누군가는 strict 하지 않다는 것이다. 예, == 는 그냥 equal operater 로 일치연산자이다. 둘다 일치 연산자에 속하지만 차이는 극명하다.
우선 우리는 알다시피 코드를 짤 때 ‘자료형’ 즉 그 자료(생활코딩 강좌에선 현재는 정보로 통칭하므로 이하 정보)의 형태를 매우 엄밀하게 구분한다. 따라서 사람이 보기에는 내포하는 정보가 같더라도 컴퓨터가 보기에는 다르다는 것이다. 예를 들어 숫자 1은 ‘1’이 되는 순간 컴퓨터는 전자는 상수, 후자는 문자로 생각하는 것이다. C 같은 상대적으로 엄격한 문법을 고수하는 언어는 이 둘을 엄격히 다르다고 여기지만, 반면에 자바스크립트는 유연하게도 둘을 같다고 여길 수도 있는 것 같다. 따라서 유연한 자바스크립트는 이 둘이 내포하는 정보는 같으므로 == 에 근거해서는 참(True)이라고 판단한다. 그러나 자바스크립트는 엄격하고 근엄하고 진지한 면모도 물론 갖고 있기 때문에 === 라는 strict equal operator 를 통해서 정보의 형태 즉 자료형 즉 정보의 type을 구분하여 거짓(False)로 판단한다.
자, 윗 화면 캡쳐를 보자. 우리가 쉽게 == 가 일치 연산자이기에 1과 2가 같은지 알림 창으로 알려줄래 라고 자바스크립트(이하 자스)에게 친절하게 ; 세미콜론까지 붙여서 물어보면 친절하게도 false 라고 아니 그건 거짓이야. 둘은 같지 않단다. 라고 알려주지. 이건 C나 Python에서도 마찬가지야.
마찬가지로 우리가 자스에게 1은 1인 거 맞지? 라고 물어보면,
당연한 소리를 한다고 맞다고 알려주지.
그런데 여길 봐. 자스는 사람 같은 유연한 면모가 있어서 내포하는 정보가 서로 같다고 마치 사람 같이 판단한 자스는 ‘1’ 과 1 이 서로 같은지에 대한 질문에 true 참이라고 맞다고 답해줘. 와우 이렇게 유연한 사고방식을 프로그래밍 언어가 가질 줄이야! 당신, 날 놀래키다니!
하지만 자스도 엄격하고 근엄하고 진지한 면모도 갖고 있기 때문에(of course) === 등호기호 3개로 자스에게 물어본다면
둘은 같은 애가 아닌데 왜 같냐고 물어보냐며 진지한 얼굴로 false라고 답해준다고.
때문에 우리가 짚고 가야할 점은 여타 프로그래밍 언어와 마찬가지로 그리고 사람이 생각하기에도 수긍이 가듯이 문자와 상수는 같지 않아. 문자는 문자인거고 상수는 상수이지. 숫자와 글자 서로 다르니까 애당초 세상에 이 두 단어가 존재하게 된 거잖아. 같은 존재였다면 사람들이 늘상 번갈아가며 사용했겠지. 따라서 자스에서도 자료형 즉 데이터형식 즉 data type 즉 정보가 같아보여도 담긴 형식이 다르면! 다른 거야!! 그걸 같다고 하고싶기도 하고(==) 다르다고 하고싶기도 해서(===) 자스는 두 가지 방식을 모두 구비해둔 거지.
하지만 나는 프랑스어에서도 e 와 é 는 서로 달라도 한참 다르고 è 랑도 살아온 배경과 각자가 지닌 역사가 다르는 걸 늘 강조하면서 다니기 때문에 늘상 === 를 사용해서 그 어느 때나 그 누구든지 === 로 구별할 것이다!! 여러분도 나처럼 엄격한 사람이 되기를!
아 참, 자스는 친절해서 진실 혹은 거짓을 알려주는 데이터 형식을 갖고 있어서 우리에게 때마다 거짓말탐지기처럼 정답을 알려주는데 이게 가능한 이유는 boolean(사람이름 불린)형 데이터 형식이 있기 때문이다! 이는 python 과 C에서도 제공하는 문법이고 논리학에서는 이 분이 빠지면 학문이 시체가 되기에.. 쿨럭~ 꼭 알아두고 넘어갑시다! 더 자세히는 조건문에서 만나게 된다는 것!
좀 더 심화적으로 === 기호와 == 의 차이를 알아보는 부분에서 신기한 점이 있었다. 프로그래머가 어떤 변수의 값을 일부러 지정하지 않는 행위 vs 원채 값이 지정이 (아직) 안 된 거에 대해서 다른 점을 보여주었다. 즉 null(전자) vs undefined(후자) 를 보았다. 사실 둘 다 값은 없다. 그런데 전자는 작성자가 의도한 것이고 후자는 의도한 건 아니다. 따라서 === 는 이를 또 엄격하게 구분해낸다.
따라서 == 로 일치를 비교하면 일치한다고 해줄 수 있지만 만일 === 로 일치를 비교한다면 이것도 서로 다른 거라고 자스가 생각하기 때문에 false 인 것이다! 호호 아주 재밌다!
더불어 true 는 1로 본다!
그리고 0은 마이너스가 앞에 붙어도 0이므로 0은 === 로도 서로 일치한다!!
또 NaN(0/0 영을 영으로 나누기)는 수가 아님쓰... 애초에 분모에 0이 들어가는 건 안 되는 거라고 학교에서 배웠음!! 그래서 == 나 === 나 서로 거짓임!
더불어 비교연산자의 부등호와 !표의 부정의 의미 (등호랑 같이 쓰일 때는 등호 앞에 위치!) 를 이렇게 직관적으로 알 수 있다!
http://dorey.github.io/JavaScript-Equality-Table/
생활코딩에 올려져 있는 링크다! == 와 === 가 각 항목 별로 어떻게 다른지 알려줌!!
생활코딩 자바스크립트 비교 챕터 공부 끝!
그렇다 나의 privacy 는 존중하지 않기로 한다..(파란줄로 그림판처럼 가리다가 관둠)
1 note
·
View note
Link
1 note
·
View note
Video
youtube
SQL NULL Value | Consequence of NULL values in SQL | NULL vs ISNULL
Q01. What is NULL Value in SQL? What is the meaning of NULL in SQL? Q02. What is the difference between NULL and Undefined in SQL? Q03. What is ANSI Standard to handle the NULL values in SQL? Q04. What are the different ways to handle or check the NULL values in SQL? Q05. Can you cast or Convert a NULL value to any type in SQL? What will it return when you try to CAST or CONVERT a NULL value in SQL? Q06. What is the use of the SET ANSI_NULLS ON|OFF flag set option? Q07. What is the use of the SET CONCAT_NULL_YIELDS_NULL ON|OFF set option? Q08. Can you insert NULL as a value to any column in SQL? Q09. How can you check for NULL value in SQL? Q10. What is the difference between ISNULL() and IS NULL? Q11. What is the difference between ISNULL() and COALESCE() function in SQL? Q12. Can you put a variable that contains a NULL value in place of NULL in the IS NULL operator clause? Q13. What is the use of IS NULL and IS NOT NULL operators in SQL?
https://www.youtube.com/watch?v=1EY-7kjmiek
#sqlinterviewquestions#mostfrequentlyaskedsqlinterviewquestions#sqlinterviewquestionsandanswers#interviewquestionsandanswers#techpointfundamentals#techpointfunda
0 notes
Text
JavaScript is a high-level, dynamic, untyped, and interpreted programming language. It has been standardized in the ECMAScript language specification. Alongside HTML and CSS, it is one of the three essential technologies of World Wide Web content production; the majority of websites employ it and it is supported by all modern web browsers without plug-ins or any kind of other extensions.
Q 1. Is JavaScript and JScript the same?
Answer. Both JavaScript vs JScript is designed to make dynamic web pages and interactive content.
Javascript is a scripting language (supports scripts) for Web pages but it is also used in non-browser environments as well. It is a powerful, lightweight, interpreted, scripting language with first-class functions (i.e. the language supports passing functions as arguments to other functions).
JScript is also a scripting language, much similar to JavaScript. It is a dialect of the popular ECMAScript standard reverse-engineered by Microsoft. JScript is subsidy by Microsoft and used in one of the most popular web browsers Microsoft’s Internet Explorer. JScript can also be called “Microsoft’s JavaScript”.
Q 2. Justify the use of let and const in JavaScript?
Answer. Earlier in javascript, developers use the var keyword for creating variables. let & const keyword is introduced in version ES6 with the vision of creating two different types of variables in javascript one is immutable and the other is mutable. The use if let and const in JavaScript:
let
let is used for variable declaration as it comes as an improvement to the var declarations. let is a block code bounded as {}. So a variable declared in a block with the let is only available for use within that block.
Example:
let greeting = "say Hi";
let times = 4;
if (times > 3) {
let hello = "say Hello instead";
console.log(hello);//"say Hello instead"
}
console.log(hello) // hello is not defined
const
Variables declared with the const maintain constant values. const declarations share some similarities with let declarations.
Like let declarations, const declarations can only be accessed within the block it was declared in.
const cannot be updated or re-declared
This means that the value of a variable declared with const remains the same within its scope. It cannot be updated or re-declared. So if we declare a variable with const.
Example:
const greeting = "say Hi";
greeting = "say Hello instead";//error : Assignment to constant variable.
Q 3. Explain the MUL function in JavaScript?
Answer. MUL means a simple multiplication of numbers. It is a technique in which you pass one value as an argument in a function and that function returns another function to which you pass the second value and the process goes on. Multiplies two expressions. This is the functional equivalent of the (*) operator.
Q 4. List the Frameworks and Data types supported by JavaScript?
Answer. The frameworks used by JavaScript are:
Node.js
Angular.js
React
Vue.js
Ember.js
Meteor
Backbone.js
Data types supported by JavaScript are:
Symbol
String
Boolean
Null
Undefined
Number
Object
Q 5. How you can redirect a page to another page in JavaScript?
Answer. There are several ways to redirect the page to another page in JavaScript. These are:
Using location.href: It is the first approach to redirect page. In this, we can go back to access the original document.
Using location.replace: Another approach to redirect page. In this, it is not possible to navigate back to the original document by clicking on the back button as it r
0 notes
Photo
`undefined` vs. `null` Revisited: https://t.co/DJ7JpFIgsR
0 notes
Photo
`undefined` vs. `null` Revisited: https://t.co/DJ7JpFIgsR
0 notes
Text
No, see, I asked for an operator. I want an operator for three reasons:
This is fundamentally a unary question
This idiom is not readable unless you're familiar with the vagaries of the == operator in Javascript. I want to avoid that operator! I want it out of my life! If I was code-reviewing this I would recommend "x === undefined || x === null" because that actually does what it says it does
Per StackOverflow, the usual solution is to use the ! operator for this. The people demand a unary operator! And if one is not given to them they will use the closest approximation, however stupid.
Falsiness in Javascript my beloathed
21 notes
·
View notes