How do you specifically execute a command in JavaScript?
A
execcommand()
B
exec(command)
Correct Answer:
The command can be executed using boolean execCommand(string commandId, ]). The execCommand() method executes the specified command for the selected part of an editable section.