javascript bangla tutorial 26 : how to create and use array

preview_player
Показать описание
⭐️ Video Contents ⭐️
⌨️ (00:00​​) Intro
⌨️ (00:07​​) Introduction
⌨️ (00:32) array
⌨️ (07:54) array library methods
⌨️ (12:11​​) Outro

🛑 Web development? checkout following playlists :

🛑 Programming languages? check out following playlists:

🛑 Android development? check out the following playlists:

🛑 HSC Students? Are you worried about ICT? I have created 377 videos for you. check out following playlists-

🛑 CSE Students? checkout following playlists :

🛑 MS Office? Trying to learn MS office to improve your skill? checkout following playlists :

#javascript #anisul_islam #javascript_bangla_tutorial #web_development #bangla_web_development #bangla_javascript #javascript_anisul_islam #anisul_islam_javascript #es6_anisul_islam #html #html_anisul_islam #css #js #javascript_projects #projects #js_es6 #javascript_es6
Рекомендации по теме
Комментарии
Автор

Array class All Code:

Array:

Note: Array sobsomay index 0- start hoi
var thanvir = new Array(5);
thanvir[0] = "Shipa";
thanvir[1] = "Smiriti";
thanvir[2] = "Shakila";
thanvir[3] = "Toma";
thanvir[4] = "Tiasha";

document.write(thanvir[0] + "<br/>");
document.write(thanvir[1] + "<br/>");
document.write(thanvir[2] + "<br/>");
document.write(thanvir[3] + "<br/>");
document.write(thanvir[4]);





var thanvir = new Array(5);
thanvir[0] = "Shipa";
thanvir[1] = "Smiriti";
thanvir[2] = "Shakila";
thanvir[3] = "Toma";
thanvir[4] = "Tiasha";
document.write(thanvir);

Note:Array Print Korte.



var thanvir = new Array(5);
thanvir[0] = "Shipa";
thanvir[1] = "Smiriti";
thanvir[2] = "Shakila";
thanvir[3] = "Toma";
thanvir[4] = "Tiasha";



Note:Array er Size dekte


var names = ["Anis", "Than", "Rinku", "shippu"];
document.write(names.length);
Note:Shortkat vabe array er lenght dekte



var names = ["Anis", "Than", "Rinku", "shippu"];
document.write(names);
Note:Array Print Korte.



var names = ["Anis", "Than", "Rinku", "shippu"];
names.push("Tanvir");
document.write(names);
Note:Push korte



var names = ["Anis", "Than", "Rinku", "shippu"];
names.push("Tanvir");
document.write(names[4]);

Note:Alada Vabe Print kore dakar jonno.



var names = ["Anis", "Than", "Rinku", "shippu", "Farid"];
document.write(names.length);
names.push("Tanvir" + "<br/>");
document.write(names.length);

Note:push mane seasher eliment add kora...
pop mane seasher element remove kora.



var names = ["Anis", "Than", "Rinku", "shippu", "Farid"];
names.pop();
names.pop();
document.write(names);



var country1 = ["Bangladesh",
"Pakistan", "Srilanka"
];
var country2 = ["India", "Afganishtan", "Nepal"];
var country = country1.concat(country2);

document.write(country);
Note:Concat Mane Jukto kora

dilrubaakhter
Автор

onk kisu shikar acy sir, apnar sob video theke Thank You sir

ADNANKHAN-wscl
Автор

sir ami apnar onek gula videos dekhsi. apnar vujanor darabahikota onek vlo.

sojibcj
Автор

it's really rare to find such a good instructor like you Vaiya, Thanks for the detailed video. Take love from core of my heart 🖤 Watch Date 14-02-2024

MarufHasanShihab
Автор

I'm from India, , apnar video dekhe ami onk kichu shikhte perechi, thank you sir, , r sir plzzz php class ar video korun, ami shikhte chai apnar kach theke, plzzz 🙏

sangitabose
Автор

var num = [10, 20, 30, 40, 50];
num.push('60');
document.write(num + '<br>');
num.pop();
document.write(num + '<br>');
var n2=[25, 15, 18];
var n3= num.concat(n2);
document.write(n3);

HabibRegan-jzle
Автор

শুভ সকাল ভিডিওটা আপলোট করেছেন ২৪ জানুয়ারী ২০২০, আমি দেখতেছি ২৩ জানুয়ারী ২০২১..

Monirulislam-eoxb
Автор

ধন্যবাদ ভাইয়া,
আপনার কাছে প্রতিদিন আমি অনেক-অনেক ধরনের প্রোগ্রামিং শিখে থাকি। আপনাকে ধন্যবাদ দেওয়ার মতো ভাষা আমাদের জানা নেই, সেজন্য একটু হলেও আপনাকে কৃতজ্ঞতা জানানোর জন্য আমরা আপনাকে এই কমেন্টগুলো করে থাকি। দোয়া করি যাতে আপনি সামনে আরও ভাল ভাল কনটেন্ট আমাদের জন্য নিয়ে আসতে পারেন ।শেষে আবারও বলতেছি অসংখ্য ধন্যবাদ আপনার মূল্যবান আমাদের মধ্যে দেওয়ার জন্য।

Mohyminulislam
Автор

Dear sir. i am always following your guideline.

alaminmolla
Автор

Thank you sir. I'm waiting for your next JavaScript tutorial.

jaakaariahoossin
Автор

I follow all time. I have invited my all friends❤❤❤❤

salmankhan-reuc
Автор

function sum(x, y)
{
return x+y;
}
function sub(x, y)
{
return x-y;
}
function multi(x, y)
{
return x*y;
}
function div(x, y)
{
return x/y;
}
function rem(x, y)
{
return x%y;
}
do {
var flag=prompt("Enter Right one 1.Addition 2.Substraction 3.Multification 4.Divide 5.Modulas 6.exit");
switch(flag)
{
case "1":
{
var one: "));
var two: "));
var result=sum(num1, num2);
document.write("Result is"+result);
break;
}
case "2":
{
var one: "));
var two: "));
var result=sub(num1, num2);
document.write("Result is"+result);
break;
}
case "3":
{
var one: "));
var two: "));
var result=multi(num1, num2);
document.write("Result is"+result);
break;
}
case "4":
{
var one: "));
var two: "));
var result=div(num1, num2);
document.write("Result is"+result);
break;
}
case "5":
{
var one: "));
var two: "));
var result=rem(num1, num2);
document.write("Result is"+result);
break;
}
default :
document.write("Error Input");
}

}while(flag!=6);

_mdathiqulhasanmomin
Автор

Assalamu alaikum Anis vai. Vai please project type kisu video upload koren. Object oriented programming details and advance level er jonno hole valo hoto. apni khub valo explain korte paren tai apnar video er ashay bose thaki. Asha kori javascript er project vittik kisu video diben like rock paper scissors game.

shahriarsaikot
Автор

var name1 = ["jewel", "salman"];
var name2 = ["rajiya", "sultana"];
var name = name1.concat(name2);
console.log(name)

jscreation