let profit = 0; //Millons of dollars function init_take_over_twitter (new_owner) { if (new_owner == 'Elon Musk') { init_emp_audit(); } } function fire_emp(type) { return 'bye bye ' + type; } function init_emp_audit () { fire_emp('CEO'); profit += 10000; while (profit < 44000) { fire_emp('Software Engineers'); profit += 1000; } // let that sink in }
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Discussion on: dev.to codes! Collaborative coding experiment: The most liked comment picks the next line of code, day 5
For further actions, you may consider blocking this person and/or reporting abuse