Nothing here yet.
Full stack development, React.js, Nodejs, MongoDB
No blogs yet.
var name = [ "a" , "b" , "c" , "d" ] var index = {} var root = index for ( var i= 0 ;i<name.length;i++ ) { var char = name[i]; root[ char ] = {} root = root[ char ] // on next iteration context will be // newly created object } console.log(index);
2017 -11 -12 18 : 38 : 39 default [ 20171112 t235458] "GET /favicon.ico" 502 2017 -11 -12 18 : 44 : 35 default [ 20171112 t235458] "GET /" 502 2017 -11 -12 18 : 44 : 36 default [ 20171112 t235458] "GET /favicon.ico" 502 2017 -11 -12 18 : 44 : 37 default [ 20171112 t235458] "GET /" 502 2017 -11 -12 18 : 44 : 38 default [ 20171112 t235458] "GET /favicon.ico" 502 2017 -11 -12 18 : 44 : 48 default [ 20171112 t235458] "GET /" 502 2017 -11 -12 18 : 44 : 50 default [ 20171112 t235458] "GET /favicon.ico" 502 2017 -11 -12 18 : 45 : 41 default [ 20171112 t235458] "GET /" 502 2017 -11 -12 18 : 45 : 42 default [ 20171112 t235458] "GET /favicon.ico" 502 2017 -11 -12 18 : 51 : 14 default [ 20171112 t235458] "GET /users/all/10" 502 2017 -11 -12 19 : 05 : 01 default [ 20171112 t235458] "GET /" 502 2017 -11 -12 19 : 05 : 03 default [ 20171112 t235458] "GET /favicon.ico" 502 2017 -11 -13 08 : 39 : 27 default [ 20171113 t140538] 2017 -11 -13 08 : 39 : 27 default [ 20171113 t140538] > blooddoners@ 1.0 .0 start /app 2017 -11 -13 08 : 39 : 27 default [ 20171113 t140538] > node index.js 2017 -11 -13 08 : 39 : 27 default [ 20171113 t140538] 2017 -11 -13 08 : 39 : 28 default [ 20171113 t140538] 2017 -11 -13 08 : 39 : 28 default [ 20171113 t140538] > blooddoners@ 1.0 .0 start /app 2017 -11 -13 08 : 39 : 28 default [ 20171113 t140538] > node index.js 2017 -11 -13 08 : 39 : 28 default [ 20171113 t140538] 2017 -11 -13 08 : 39 : 28 default [ 20171113 t140538] -------------------------Index.html--------------------------------------- 2017 -11 -13 08 : 39 : 28 default [ 20171113 t140538] -------------------------Index.html---------------------------------------
while refactoring my code i changed some class names without thinking because they don't have any meaning at all , but previously i wrote some functionality tasks and design tasks for those removed class names , it almost nuke the imp parts of my project. it makes two days delay of my project