© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Rohit
learning to learn
ARYAN I feel the not before allowed(false) is not valid JS, please check.
not
let age = age>18 ? allowed(true) : not allowed(false);
aryan sharma
Making Tech easy for you!!!
Hey Rohit! actually, i want to show that if the age is not greater than 18 then it will go to that part,. and yes It is not a JS code. Thanks for clearing this out!