• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 6 páginas
Examen

Salesforce Javascript Developer 1 Exam Study Questions And Answers

Document preview thumbnail
Vista previa 2 fuera de 6 páginas

SALESFORCE JAVASCRIPT DEVELOPER 1 EXAM STUDY QUESTIONS AND ANSWERS

Vista previa del contenido

SALESFORCE JAVASCRIPT
DEVELOPER 1 EXAM STUDY
QUESTIONS AND ANSWERS

Prototype inheritance - ANSWER-an in memory object that defines the
properties and functions of other objects

JSON spec is based on - ANSWER-object literal notation

shift() - ANSWER-remove the first element and return that elemend

unshift() - ANSWER-Adds new elements to the beginning of an array, and
returns the new length

sort() - ANSWER-a-b is sort asc. and b-a is sort descending

var declaration is hoisted BUT - ANSWER-is undefined until assigned a value

Are function expressions hoisted (e.g. var s = function (){} - ANSWER-NO

Are function definitions hoisted (e.g. function s (){} - ANSWER-YES

What is not allowed in strict mode? - ANSWER-1) using a var without
declaring it.

2) deleting a var or object

3) duplicating a parameter name

Object.assign(target, source) - ANSWER-source copies and overwrites target

Classes in JavaScript (four things) - ANSWER-1) Are special functions which
are primarily syntactical sugar over prototype based inheritance

2) Two ways to define a class: class declaration, class expression

3) Class expressions can be named or unnamed

4) class declarations are NOT hoisted

jquery defines a function with ____ and Lodash with ______ - ANSWER-$ and __

What's true about var test = new function(){} - ANSWER-It inherits the global
scope even if called in a block

, What are two ways to access data in a converted JSON string? - ANSWER-
user.email and user[email]

Scope of variables declared without the var keyword - ANSWER-become
global no matter where it's declared

Object.freeze() - ANSWER-Freezes an object making it immutable.

Prevents adding new properties

Doesn't allow removing of existing properties

Doesn't allow you to change immediate properties of the object

Attributes of child objects can be modified

Object.seal() - ANSWER-seals an object

Allows changing existing properties of an object

Prevents adding new properties

Doesn't allow removing existing properties

What is true about const objB=objA? - ANSWER-They both now point to the
same address in the stack so if one changes, so does the other

popstate - ANSWER-when an event is dispatched to the window each time
the active history entry changes between to history entires for the same
document

navigate() - ANSWER-loads a specified URL

pushstate() - ANSWER-pushes given data onto the session history stack WITH
NO PAGE REFRESH

valid events with interacting with the browser - ANSWER-1) Contextmenu

2) mousedown

3) keyup

To persist an object in localStorage, you need to use - ANSWER-JSON.stringify

output the screen width of the element - ANSWER-
document.getElementById('id').style.width

select a specific <li> - ANSWER-document.querySelector('#main li:nth-
child(2)')

Información del documento

Subido en
1 de noviembre de 2025
Número de páginas
6
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$12.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
EduSprint
3.9
(8)
Vendido
69
Seguidores
5
Artículos
7078
Última venta
1 semana hace




Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes