Created
March 29, 2020 06:53
-
-
Save whoiskai/f3b16ee70486cda5794e3c5673a9a020 to your computer and use it in GitHub Desktop.
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
function Transform(obj) { | |
try { | |
obj.name = "Orange"; | |
obj.price = obj.price/0; | |
} catch (e) { | |
// ... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment