├── app.js ├── index.html └── README.md /app.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 || 523 | | Name | 524 |Answer | 525 |
|---|---|---|
| 1.17 | 531 |JSON.parse() | 532 |javaScript এর কোন একটি object/array/value কে Object a convert করার জন্য JSON.stringify() দিতে হবে (return Object;) | 533 |
| 1.18 | 537 |JSON.stringify() | 538 |JavaScript এর `JSON.stringify()` মেথড ব্যবহার করে কোন অবজেক্ট, অ্যারে, বা মানকে JSON স্ট্রিং এ রূপান্তর করা যায়। এই মেথডটি একটি অবজেক্টের ডাটা স্ট্রাকচার কে JSON ফরম্যাটে রূপান্তর করে এবং সেই স্ট্রিংকে রিটার্ন করে। | 539 |
| 1.19 | 543 |es6 update | 544 |1. let and const, 2. default parameters, 3. template String, 4. arrow function, 5. Spread Operator, 6. destructuring | 545 |
| 1.20 | 549 |integer | 550 |পূর্ণ সংখ্যা 1, 2, 40, 43 [parseint()] | 551 |
| 2 | 555 |float | 556 |ভগ্নাংশ সংখ্যা decimal: 2.3, 43.23, 54.4 [parsefloat()] | 557 |
| 3 | 561 |==, === | 562 |== check the value, and === check the value and typeof | 563 |
| 3 | 567 |let price1 = price1 + 10 | 568 |let price1 +=10 | 569 |
| 3 | 573 |let price1 = price1 - 10 | 574 |let price1 -=10 | 575 |
| 3 | 579 |let price1 = price1 * 10 | 580 |let price1 *=10 | 581 |
| 3 | 585 |let price1 = price1 / 10 | 586 |let price1 /=10 | 587 |
| 3 | 591 |Data Type | 592 |Premitive Data Type, Non Premitive Data Type | 593 |
| 8 | 597 |Premitive Data Type | 598 |Number, String, Undefined, Null, Boolean | 599 |
| 9 | 603 |Non Premitive Data Type | 604 |Object, Array, Function | 605 |
| 10 | 609 |Variable | 610 |declare, naming convention, variable types, primitive, math operations. | 611 |
| 10 | 615 |Factorial | 616 |A factorial is a function that multiplies a number by ev ery number below it till 1. | 617 |
| 10 | 621 |Conditionals | 622 |comparison: >, <, >=, <=, ===, !==, if-else | 623 |
| 14 | 627 |Array | 628 |Declare, index, get values, set values, indexOf, push, pop | 629 |
| 14 | 633 |Loop | 634 |for loop, while loop, break, continue | 635 |
| 15 | 639 |Function | 640 |declare, parameters, return, call, use the returned value from a function | 641 |
| 16 | 645 |Objeect | 646 |declare, properties, keys , values, get prop value, set value, loop object. | 647 |
| 17 | 651 |String | 652 |String হচ্ছে imutable. এর মান বা value change করা যাই না. | 653 |
| 18 | 657 |String | 658 |Apply Search includes, indexOf, startswith, endswith | 659 |
| 18 | 664 |destructing two way (valriable value swap) | 665 |Array to Array /* [first, second] = [second, first] */, Object to Object | 666 |
| 18 | 670 |Array Check | 671 |//check array using Array.isArray | console.log(Array.isArray(friends)) | 672 |
| 18 | 676 |Array Name Check (ase ki na) | 677 |const friends = [13, 14, 11, 17, 21, 16, 15, 20]; | console.log(friends.includes(19)) | 678 |
| 18 | 682 |preventDefault | 683 |e.preventDefault(); | 684 |
| 17 | 687 |Math | 688 |Math, abs, pow, round, ceil, floor, and random number | 689 |
| 19 | 693 |Math.random() | 694 |Math.random((Math.random()*1000)) // output 0.7895253939768327 | 695 |
| 20 | 699 |Math.round() | 700 |Math.round((Math.random()*10000)) // output 4492 | 701 |
| 19 | 705 |SELECT | 706 |function er vitor this diya mane oi tai select kora | 707 |
| 22 | 711 |Date | 712 |const today = new Date() | 713 |
| 23 | 717 |multiline | 718 |const multiline = 'line 1 \n' + ' line 2 \n' | 719 |
| 24 | 723 |Api GET | 724 |Receive Information about an API resource () | 725 |
| 24 | 729 |Api POST | 730 |Create an API resource (নতুন একটা কিছু add করা) | 731 |
| 24 | 735 |Api PUT/PATCH | 736 |Update an Api resource (put almost patch but put => যদি কোন কিছু আগে থেকেই থাকে সেইটা পরিবর্তন করে নিজে বসে পরে। আর না থাকলে নিজে create করে ) (patch => কোন কিছু আগে থেকেই আছে সেই টা update করে) patch করতে হলে কিছু থাকতে হবে। | 737 |
| 24 | 741 |Api DELETE | 742 |Delete an API resource (Api থেকে কিছু delete করতে DELETE method করতে হবে) | 743 |
| 24 | 746 |Api CRUD | 747 |' | 748 |
| 24 | 752 |HTTP STATUS CODE | 753 |(200 - ok), (301 - Moved Permanently), (302- Moved Temporarily), (404 - Not Found), (500 - Intenal Server Error), (503 - Service Unabailable) | 754 |
| 24 | 758 |setTimeout() | 759 |For clearing the timeout funtion, clearTimeout() is used | 760 |
| 24 | 764 |setTimeout() | 765 |For clearing the timeout funtion, clearInterval() is used | 766 |
| 24 | 770 |event loop | 771 |JavaScript এর asynchronous items গুলা থাকে Queue-তে এবং synchronous items গুলা থাকে Stack-এ। Stack এর কাজগুলা সম্পাদন হয়ে গেলে তখন Queue-তে থাকা কাজগুলো Stack-এ এসে সম্পাদন হতে থাকে। আর এই পুরো কাজটা Event Loop-এর মাধ্যমে হয়ে থাকে। এটাই event loop এর কন্সেপ্ট | 772 |
| 24 | 776 |Call Stack | 777 |Call Stack হচ্ছে Stack এর মধ্যে synchronous ভাবে যেই function এর কাজগুলো একটার পর একটা থাকে এবং সেই অনুসারে execute হয়, সেটাকেই call stack বলে | 778 |
| 24 | 781 |Edit any ui page | 782 |document.body.contentEditable = true | 783 |
| 24 | 787 |get cookie value from browser | 788 |document.cookie | 789 |
| 24 | 793 |get cookie value as array | 794 |document.cookie.split('; ') | 795 |
| 24 | 799 |get cookie value in key-value pair | 800 |document.cookie.split('; ').map(c => console.log(c)) | 801 |
| 24 | 806 |807 | | 808 | |
| 24 | 812 |813 | | 814 | |