Free CRT-600 Exam Braindumps (page: 29)

Page 28 of 57

Which option is true about the strict mode in imported modules?

  1. Add the statement use non-strict, before any other statements in the module to enable not-strict mode.
  2. You can only reference notStrict() functions from the imported module.
  3. Imported modules are in strict mode whether you declare them as such or not.
  4. Add the statement use strict =false; before any other statements in the module to enable not- strict mode.

Answer(s): B



Teams at Universal Containers (UC) work on multiple JavaScript projects at the same time. UC is thinking about reusability and how each team can benefit from the work of others. Going open-source or public is not an option at this time.
Which option is available to UC with npm?

  1. Private packages can be scored, and scopes can be associated to a private registries.
  2. Private registries are not supported by npm, but packages can be installed via URL.
  3. Private packages are not supported, but they can use another package manager like yarn.
  4. Private registries are not supported by npm, but packages can be installed via git.

Answer(s): A



Refer to code below:
Let first = `who';
Let second = `what';
Try{
Try{
Throw new error(`Sad trombone');
}catch (err){
First ='Why';
}finally {
Second ='when';
} catch (err) {
Second ='Where';
}
What are the values for first and second once the code executes ?

  1. First is Who and second is When
  2. First is why and second is where
  3. First is who and second is where
  4. First is why and second is when

Answer(s): D



Which javascript methods can be used to serialize an object into a string and deserialize a JSON string into an object, respectively?

  1. JSON.stringify and JSON.parse
  2. JSON.serialize and JSON.deserialize
  3. JSON.encode and JSON.decode
  4. JSON.parse and JSON.deserialize

Answer(s): A






Post your Comments and Discuss Salesforce CRT-600 exam with other Community members:

CRT-600 Discussions & Posts