🔒 Closed Tanong po -- regarding react js

Status
Not open for further replies.

Ze_Ro

Elite
good day po . .tanong ko lang po if tama po ito ganito

if(name||lastname||empno||age||
===""){
return "Fied should be complete";
}

gusto ko po sana if walang laman ung field mag rereturn po sya field sould be complete'

tama po ba yung OR execution ko po? || po yan dalawa guhid ..

salamat po
 
Paisa isa dapat siya lods

JavaScript:
if (name  === "" || lastname  === "" || empno  === "" || age  === "") {
   return "Field should be complete";
}
 
Status
Not open for further replies.

Similar threads

About this Thread

  • 2
    Replies
  • 548
    Views
  • 2
    Participants
Last reply from:
Ze_Ro

Trending Topics

Online now

Members online
1,111
Guests online
2,253
Total visitors
3,364

Forum statistics

Threads
2,289,664
Posts
29,059,926
Members
1,212,929
Latest member
nnyshr
Back
Top