Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(754)

Issue 334180043: Brought up together redundant parts of code (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
2 weeks ago by manu_chaud
Modified:
3 days, 3 hours ago
Reviewers:
dkostic, Wei Wang, kirill.sc
CC:
brahim Al-Qaysi, yulianlluo, zhubiwen509, farzad2050
Visibility:
Public.

Description

Brought up together redundant parts of code BUG=Factorized redundant parts of code

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -226 lines) Patch
M Phase_2/5countries_link/index2.html View 3 chunks +66 lines, -226 lines 2 comments Download

Messages

Total messages: 3
manu_chaud
Code factorization as promised in my last today's code review https://codereview.appspot.com/334180043/diff/1/Phase_2/5countries_link/index2.html File Phase_2/5countries_link/index2.html (right): https://codereview.appspot.com/334180043/diff/1/Phase_2/5countries_link/index2.html#newcode33 ...
2 weeks ago (2017-11-26 17:38:00 UTC) #1
farzad2050
Good. Just I have a question that "===" have the same work as "==" in ...
5 days, 5 hours ago (2017-12-06 10:03:01 UTC) #2
manu_chaud
5 days, 4 hours ago (2017-12-06 10:22:22 UTC) #3
On 2017/12/06 10:03:01, farzad2050 wrote:
> Good. Just I have a question that "===" have the same work as "==" in
> C language?
> 
> -- 
> Best regards,
> Mr. Farzad Hajibagheri
> 
> P.S.: If you have found any mistakes in my English, if you want you
> can answer me and correct me, please.
> 
> Om du har hittat några fel i min Svenska, om du vill kan du svara mig
> och hämta mig med rätt, snälla.
> 
> P.S. 2.>> Help save natural resources – please think twice before
> printing this e-mail or any attachments.
> 
> Sorry if you receive this email twice. If this occurs it was because
> of technical problem.

Yes, in Javascript both == and === exist. In addition to the value, === checks
also the type of the variable (since Javascript is a dynamically typed language,
unlike C). Thus: 2 === 2 is true, but 2 === “2” is false. 2 == “2” is true (no
type checking here) and 2 == 2 is true.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 204d58d