+ 1

Javascript last chalange help

Javascript code project 65 I did not solve. It is so difficult 🙄 You are making a text encryptor. It should take multiple words and output a combined version, where each word is separated by a dollar sign $. For example, for the words "hello", "how", "are", "you", the output should be "$hello$how$are$you

quot;. The given code declares a class named Add, with a constructor that takes one rest parameter. Complete the code by adding a print() method to the class, which should generate the requested output. How can I solve this problem?

23rd Sep 2021, 9:26 AM
Hamza Akburak
Hamza Akburak - avatar
1 Answer
+ 1
You need to add print method inside class. Nothing difficult about it if you understand the basics of oop.
23rd Sep 2021, 9:35 AM
Abhay
Abhay - avatar