Save
Upgrade to remove ads
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

JAVASCRIPT

TermDefinition
- string, number, boolean, array, object, null, undefined
- event capturing, Target phase, event bubbling, event delegation
- event.target, event.target.value, event.target.closest, e.target.className, e.target.id, e.target.innerHTML
- event.stopPropagation, event.stopImmediatePropagation, event.preventDefault(),
- elem.addEventListener(..., true)
- onchange, onclick, onmouseover, onload, onkeydown
- Abortcontroller and symbol; cancelling the api request
- Throttling and debouncing
- asynchronous programming, callback and promises, callback hell, error callback
- closure, hoisting
- function, arguments.length, anonymous function, IIFE (use of it in singleton in vanilla js);
- lexical, functional and block scope
- event queue, event-loop, call stack, single threaded, macro-tasks(apicalls, setTimeout, mouse-event, script tag), micro-tasks(process.nextTick, promises - higher priority),
- type=module in script tag (import/export, deferred execution, module scoped variables)
- call, bind, apply (how .apply is used when num of arguments passed is uncertain and you have to write a wrapper function)
- `func.apply(this, [...args, callback]);`
- method chaining, currying,
- generators, yield
- static type checking at compile time
- TypeScript decorators are functions that can be used to modify or add metadata to classes, methods, or properties.
- Generics interface e.g interface myInterface<T>
- readonly : The readonly modifier can be used to create arrays that cannot be modified after initialization.
- keyof : obtain the union type of all possible property names of a given type.
- Declaration files (.d.ts) provide type information for existing JavaScript code, allowing TypeScript to understand the types used in external libraries. Definition files are typically generated by tools like DefinitelyTyped.
- Enums, and what are "const enums"
- "strict mode" in TypeScript : ncludes options like strictNullChecks, strictFunctionTypes
- "conditional imports" in TypeScript
- document.querySelector(".className"),
- document.querySelector(" idName"),
- document.getElementById('id_name'),
- document.getElementsByClassName('className')
- document.cookie
- `Ecmascript`
- ES5(2009) - useStrict, JSON.stringify, JSON.parse,
- ES6(2015) - Promises, let, const, template literal, arrow function (self = this), class, super(),constructor,extends, rest and spread. default param, destructuring,generators (function*)
- ES7(2017) - async await and equivalent promise conversion
- `Object`
- Object.keys, Object.values, for(const of )
- Object.freeze(), Object.seal(), Object.isFrozen(), Object.isSeal()
- Object.prototype.hasOwnProperty
- Object.create()
- Prototype, constructor, __proto__, Object.create(), prototype.constructor (function constructor), instanceof
- object.hasOwnProperty(property)
- `Array`
- arr.sort((a,b)=> a-b);
- array.filter().map().join("")
- promise.all(), promise.race(), .resolve(), .reject(), callback
- state of promise : pending, fulfilled, rejected
- new Promise((reolve, reject)=> {})
- Difference between myPromise.then(result => {}, err => {}) and myPromise.then(result => {}).catch(err => {});
- ways of creating an object in JS
- data types in JS - string, number, boolean, object, array, null, undefined
- `string.reverse().split("").includes().trim()`
- AJax calls : `XMLHttpRequest` and `fetch API` (modern version)
- higher order functions (e.g map, filter, foreach etc.)
- JSONP (JSON with Padding) - hack for handling cors issue
- Host objects(provided by browser or run time env like node.js) vs native objects (provided by language)
- Debugging
- chrome devtools
- debugger statement
- console.log
- CommonJS abd Asynchronous Module Definition (AMD)
- `DOMContentLoaded` and `load` event
- `UA string` (user agent string)
- `Feature Detection`
Created by: user-2034996
 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards