Spells and Charms

プログラミング(呪文学)の学習記録。

2019-04-18から1日間の記事一覧

ブートキャンプのテクニカルインタビュー その2

30分で私は3つのコードをやりました。最後は未完成。 1つ目はごくシンプルなifを使うコード。 特になにということはなかったと思います。 2つ目はすでにあるコードからコンソールになにがでてくるかを当てるもの。 個人的にはこれが一番おもしろいと思いまし…

ブートキャンプのテクニカルインタビュー

今日テクニカルインタビューを受けたので、もらったアドバイスをメモしておきます。 キーバリューの練習不足 テスト不足 まず先にロジックの組み立てをする 1については圧倒的に納得です。次回のインタビューが1週間後なので、できるだけ時間をみつけてやり…

eloquent javascript 2nd edition chapter 4 Data Structures: Objects and Arrays

Exercises The sum of a range The sum of a range The introduction of this book alluded to the following as a nice way to compute the sum of a range of numbers: 1 console.log(sum(range(1, 10))); Write a range function that takes two argument…

eloquent javascript 2nd edition chapter 3 Function

Excercise Minimum The previous chapter introduced the standard function Math.min that returns its smallest argument. We can do that ourselves now. Write a function min that takes two arguments and returns their minimum. これは結構すぐでき…