Last active
February 4, 2021 11:35
-
-
Save eeddaann/36485d1eada1cf314ebb819409355f4e to your computer and use it in GitHub Desktop.
ODH dictionary
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class meow { | |
constructor(options) { | |
this.maxexample = 2; | |
this.word = ''; | |
} | |
async displayName() { | |
return "אנגלית טכנית" | |
} | |
async findTerm(word) { | |
let dict = { | |
"jigsaw":"מסור אנכי,גקסון", | |
"drill":"מקדחה", | |
"slot bit":"חריץ" | |
} | |
this.word = word.toLowerCase(); | |
if(this.word in dict) { | |
return dict[this.word]; | |
} else { | |
return "המילה לא נמצאה במילון" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment