Giter VIP home page Giter VIP logo

assignment--js-object-intermediate's Introduction

JS Iteration Basics

The Assignment

The purpose of this assignment is to improve your understanding and develop your skills with iteration, one of the foundational concepts of programming and software development. For these exercises, you will need to use for-loops to arrive at the correct solution. You are not to use helper methods like.split() , substr(), .reverse().

Setup

# (1) Go to your  muktek/assignments directory and create the `js-object-intermediate` folder for this assignment
cd ~/Documents/muktek/assignments
mkdir js-object-intermediate
cd js-object-intermediate


# (2) Download the assignment-files with curl from the assignment repo and unzip
curl https://raw.githubusercontent.com/muktek/assignment--js-object-intermediate/master/assignment-files.zip > assignment-files.zip

unzip assignment-files

Instructions

The goal of these exercises is to write the logic in the function to solve the problem. The statements/declarations in the console.assert(...) describe the expected output from the function when provided with a given input and should evaluate to true if you have written the function correctly.

Here is how you will answer each exercise:

(1) Read the problem

(2) Look at the expected output

  • you instructors have written these console.assert() statements to ensure that you have written the exercise function correctly

(3) Write the function and the logic

Note For the ex-01, ex-02, and ex-03 you will need to write the functions as methods.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.