Accomplishment Form
Accomplishment Form
Accomplishment Form
Address: Garnet St. Green Valley, San Nicolas III, City of Bacoor, Cavite
Telephone No: (046) 236 5729
Email: 342600@deped.gov.ph
SUBJECT:____________________________________________
SEM/SCHOOL YEAR:____________________________________
Signature
SHS IN SAN NICHOLAS III, BACOOR CITY
Address: Garnet St. Green Valley, San Nicolas III, City of Bacoor, Cavite
Telephone No: (046) 236 5729
Email: 342600@deped.gov.ph
Understanding
(Reflection- Challenges in conducting the learning activity and how you deal with it)
After reviewing functions, I feel confident in my understanding of the different types of functions
in JavaScript and their various applications. Functions are essential in programming because
they allow us to break down complex tasks into smaller, reusable parts of code. By using
functions, we can write cleaner, more organized code and avoid repetitive tasks
SHS IN SAN NICHOLAS III, BACOOR CITY
Address: Garnet St. Green Valley, San Nicolas III, City of Bacoor, Cavite
Telephone No: (046) 236 5729
Email: 342600@deped.gov.ph
ACCOMPLISHMENT FORM
- After reviewing scope, I have a better understanding of how variables are accessed
throughout a program and the importance of scoping variables tightly. Scope refers to
the context in which variables are defined and can impact their accessibility in different
parts of the code.
Understanding
(Reflection- Challenges in conducting the learning activity and how you deal with it)
- In JavaScript, there are two types of scope: global scope and block scope. Global
scope refers to the context within which variables are accessible to every part of
the program, while block scope refers to the context within which variables are
accessible only within the block they are defined. It's important to be mindful of
the scope of variables in order to avoid conflicts or errors in our code.
- Furthermore, I learned about global variables and local variables. Global variables
exist within the global scope and can be accessed anywhere in the program,
while local variables exist within block scope and can only be accessed within the
block they are defined in. It's best practice to keep variables as tightly scoped as
possible to avoid scope pollution and reduce the risk of unintended
consequences.
SHS IN SAN NICHOLAS III, BACOOR CITY
Address: Garnet St. Green Valley, San Nicolas III, City of Bacoor, Cavite
Telephone No: (046) 236 5729
Email: 342600@deped.gov.ph
- One important concept to remember when working with arrays is indexing. Each
item in an array is assigned a numbered position, or index, starting at 0. We can
access items in an array using their index, with syntax like myArray[0]. We can
also change items in an array using their index, with syntax like myArray[0] = 'new
string'. Additionally, arrays have a length property, which allows us to see how
many items are in an array.
- Arrays have their own methods, such as .push() and .pop(), which add and
remove items from an array, respectively. It's important to note that some
methods are mutating, meaning they will change the original array, while others
are not mutating. We can always check the documentation to see which methods
mutate and which do not.
- Variables that contain arrays can be declared with let or const, but even when
declared with const, arrays are still mutable. However, a variable declared with
const cannot be reassigned. Furthermore, arrays mutated inside of a function will
keep that change even outside the function.
Understanding
(Reflection- Challenges in conducting the learning activity and how you deal with it)
- Overall, understanding arrays and their methods is important for working with and
manipulating data in JavaScript. By learning how to work with arrays, we can efficiently
and effectively handle large sets of data.
SHS IN SAN NICHOLAS III, BACOOR CITY
Address: Garnet St. Green Valley, San Nicolas III, City of Bacoor, Cavite
Telephone No: (046) 236 5729
Email: 342600@deped.gov.ph
Understanding
(Reflection- Challenges in conducting the learning activity and how you deal with it)
- The article goes on to explain that we can access, add, or edit an object's
properties using dot notation or bracket notation. We can also add methods to
object literals using key-value syntax with anonymous function expressions as
values or by using the new ES6 method syntax.
- Moreover, the article emphasizes that objects are mutable, meaning we can
change their properties even when they're declared with const. It's also crucial to
note that objects are passed by reference, meaning when we make changes to an
object passed into a function, those changes are permanent.
-
SHS IN SAN NICHOLAS III, BACOOR CITY
Address: Garnet St. Green Valley, San Nicolas III, City of Bacoor, Cavite
Telephone No: (046) 236 5729
Email: 342600@deped.gov.ph
Understanding
(Reflection- Challenges in conducting the learning activity and how you deal with it)
- It's also emphasized that we can visit the Mozilla Developer Network to learn more
about iterator methods (and all other parts of JavaScript!). Overall, this reflection has
been an excellent refresher on the basics of iterator methods in JavaScript and their
capabilities.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: