Skip to content

Commit 38d733e

Browse files
probel 15 solved
1 parent a3aa456 commit 38d733e

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

problem15/problem.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
তুমি এতদিন যা যা জিনিস শিখছো সেগুলার নাম দিয়ে একটা array বানাও। তারপর একটা for লুপ দিয়ে সেই array এর সব উপাদান কে আউটপুট হিসেবে দেখাও।
2+
3+
Create an array with the names of all the things you have learned in this lesson. Then use a for loop to output all elements of that array.

problem15/problem15.js

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/* Create an array with the names of all the things you have learned in this lesson. Then use a for loop to output all elements of that array. */
2+
3+
4+
var itemsLearnt = ["Variable declaration", "Data types","String concatenation", "ParseInt()", "ParseFloat()", "toFixed()", "Math operations","Conditions", "Multiple conditions", "Multi stage conditions", "Array","Find array elements by index", "Find index by array element", "Array length", "Update array element", "Add element at the last of an array", "Add element at first of an array", "Remove the last element of an array", "Remove first element of an array", "While loop", "For loop", "Loop break", "Loop continue", "Loop reverse" ];
5+
6+
for( var i = 0; i < itemsLearnt.length; i++){
7+
8+
var item = itemsLearnt[i];
9+
console.log(i + ". " + item);
10+
}

0 commit comments

Comments
 (0)