Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,155,197 members, 7,825,755 topics. Date: Sunday, 12 May 2024 at 10:19 PM

Challenge For Javascript Beginners/intermidiate - Programming (3) - Nairaland

Nairaland Forum / Science/Technology / Programming / Challenge For Javascript Beginners/intermidiate (4053 Views)

Recommend A Good Course On UDEMY For Javascript / Whatsapp Group For Javascript Developers / Learn And Get The Source Code For Javascript Type Writer Code (2) (3) (4)

(1) (2) (3) (Reply)

Re: Challenge For Javascript Beginners/intermidiate by dometome: 6:38am On Sep 28, 2017
Jaddo19:
My solution....
  var num=45;
  function isset(x){
  if(x=="undefined" ){
  return ' not defined';
 }else{
  return 'defined';
 }
 }
  isset(num);
 
always use camel case
Re: Challenge For Javascript Beginners/intermidiate by modash(m): 9:00am On Oct 03, 2017
modash:
I have an interesting challenge, write a program that gives you factorial of a number
E.g
5! = 5*4*3*2*1 = 120
4! = 4*3*2*1 = 24
3! = 3*2*1 = 6
2! = 2*1 = 2
1! = 1*1 = 1
0! = 1 (note the answer for zero factorial)

Should I drop the solution

(1) (2) (3) (Reply)

How To Spot A Bad Software Developer / Am A LAMP Stack Developer �‍� And You? / Programming Language Is Machine Independent?

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 7
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.