MCPcopy Create free account
hub / github.com/NobyDa/Script / get_country_message

Function get_country_message

Disney/DisneyRating.js:166–174  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

164}
165
166function get_country_message(data) {
167 const country = data;
168 const countrys = country.split(", ");
169 let emoji_country = "";
170 countrys.forEach(item => {
171 emoji_country += countryEmoji(item) + " " + item + ", ";
172 });
173 return emoji_country.slice(0, -2);
174}
175
176// function errorTip() {
177// return { noData: "⭐️ N/A", error: "❌ N/A" }

Callers 1

get_IMDb_messageFunction · 0.85

Calls 1

countryEmojiFunction · 0.85

Tested by

no test coverage detected