create account

RE: Introducing the Coding Challenge by monkonacid

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @reggaemuffin/introducing-the-coding-challenge

· @monkonacid ·
Probably the shortest FizzBuzz code 

    for(i=0;i<1e2;)
    console.log((++i%3?"":"Fizz")+(i%5?"":"Buzz")||i)
properties (22)
authormonkonacid
permlinkre-reggaemuffin-introducing-the-coding-challenge-20180618t132550644z
categorycoding-challenge
json_metadata{"tags":["coding-challenge"],"app":"steemit/0.1"}
created2018-06-18 13:24:27
last_update2018-06-18 13:24:27
depth1
children2
last_payout2018-06-25 13:24:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length111
author_reputation436,763,812
root_title"Introducing the Coding Challenge"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id61,225,466
net_rshares0
@reggaemuffin ·
$0.04
You can go even shorter ;) But I mean the idea is to have it nice and readable and thought through :P
👍  , ,
properties (23)
authorreggaemuffin
permlinkre-monkonacid-re-reggaemuffin-introducing-the-coding-challenge-20180619t103438706z
categorycoding-challenge
json_metadata{"tags":["coding-challenge"],"app":"steemit/0.1"}
created2018-06-19 10:34:36
last_update2018-06-19 10:34:36
depth2
children1
last_payout2018-06-26 10:34:36
cashout_time1969-12-31 23:59:59
total_payout_value0.035 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length101
author_reputation37,964,839,695,531
root_title"Introducing the Coding Challenge"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id61,342,657
net_rshares17,563,191,347
author_curate_reward""
vote details (3)
@monkonacid ·
Not the best looking code, however you could add some comments...  :D
properties (22)
authormonkonacid
permlinkre-reggaemuffin-re-monkonacid-re-reggaemuffin-introducing-the-coding-challenge-20180619t173207673z
categorycoding-challenge
json_metadata{"tags":["coding-challenge"],"app":"steemit/0.1"}
created2018-06-19 17:32:09
last_update2018-06-19 17:32:09
depth3
children0
last_payout2018-06-26 17:32:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length69
author_reputation436,763,812
root_title"Introducing the Coding Challenge"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id61,387,277
net_rshares0