Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Certified MuleSoft Developer (Mule-Dev-201) Exam - Topic 2 Question 42 Discussion

Correct answer is {customerID}.
B) fun toUpper(userName) = upper(userName)
A) var toUpper(userName) -> upper(userName)
C) fun toUpper(userName) -> upper(userName)
D) var toUpper(userName) = upper(userName)

Salesforce Certified MuleSoft Developer (Mule-Dev-201) Exam - Topic 2 Question 42 Discussion

Actual exam question for Salesforce's Salesforce Certified MuleSoft Developer (Mule-Dev-201) exam
Question #: 42
Topic #: 2
[All Salesforce Certified MuleSoft Developer (Mule-Dev-201) Questions]

Correct answer is {customerID}.

Show Suggested Answer Hide Answer
Suggested Answer: B

A function named toUpper needs to be defined that accepts a string named userName and returns the string in uppercase.

What is the correct DW code to define the toUpper function?

Contribute your Thoughts:

0/2000 characters
Shannan
1 month ago
I feel like "var" is used for variables, but I can't recall if it can be used for functions too.
upvoted 0 times
...
Britt
1 month ago
I remember practicing a similar question where we had to define a function, and I think "fun" is definitely the right keyword.
upvoted 0 times
...
Andra
2 months ago
I think the correct syntax for defining a function is important here, but I'm not sure if it's "fun" or "var" that should be used.
upvoted 0 times
...

Save Cancel