My Coding Journey

Journey to a Full Stack Developer


  • Home

  • Archives

  • Tags

EloquentJS - Data Structures

Posted on 2017-02-18 |
The sum of a rangeWrite a range function that takes two arguments, start and end, and returns an array containing all the numbers from start up to (and including) end. Next, write a sum function that takes an array of numbers and returns the sum of these numbers. Run the previous program and see whe ...
Read more »

EloquentJS - Functions Excercise

Posted on 2017-02-17 |
MinimumWrite a function min that takes two arguments and returns their minimum. 123function min(a,b){ return a < b ? a :b} RecursionDefine a recursive function isEven corresponding to this description. The function should accept a number parameter and return a Boolean. 12345678910functi ...
Read more »

JS Hoisting

Posted on 2017-02-16 |
In JavaScript, a variable can be declared after it has been used.In other words; a variable can be used before it has been declared.Basically how javascript engine works 12345var myvar = 'my value';(function(){ alert(myvar); // undefine var myvar = 'local value';})(); The reason why ...
Read more »

JS Scope

Posted on 2017-02-16 |
There are three things (maybe more) that you need to know about scope, which is global/current scopelexical scope, scope chain ScopeScope is variable access Scope is the set of rules that determines where and how a variable (identifier) can be looked-up. Basically Scope is variable access. Also ever ...
Read more »

EloquentJS-Program Structure excercise

Posted on 2017-02-16 |
Looping a triangleWrite a loop that makes seven calls to console.log to output the following triangle: 1234567############################ 123for(var i=1; i<=7; i++){ console.log("#".repeat(i) + "\n");} Chess boardWrite a program that creates a string that represents an 8×8 grid, using ...
Read more »

YDKJS Up&Going Review

Posted on 2017-02-14 |
This a series of javascript book, which contains 6 books. It turns out this is moresuitable book for intermediate/advance JS, but it’s okay. I’ll just read it and if some concept don’t click maybe i’ll get it in the future and come back and look at it again. UP & GOING This is an intro book, wi ...
Read more »

100 Days Code Challenge Day 1-10

Posted on 2017-02-14 |
Here’s my main goals: Familar with Ruby on Rails Finish Free Code Camp Front Certificate Start learning REACTHere’s my log for my challenge. Day 1-2/4 Ruby Koans 150tasksCodewar 2 KatasLRTHW - 5 tasks Day 2-2/5 LRTHW -18 tasksCodewar 2 KatasRuby Koans 190 tasks Day 3-2.6 Read Market genius 90pag ...
Read more »
1…67
Danny Huang

Danny Huang

67 posts
24 tags
RSS
GitHub Facebook
© 2018 Danny Huang
Powered by Hexo
Theme - NexT.Pisces