3 ms·
Please respect tables! ┬─┬ノ(ಠ_ಠノ) This did give a chuckle. Edit: I'm surprised that PHP accepts these characters ((╯°□°)╯︵┻━┻) as a valid function name. Perha
by CatsoCatsoCatso 11y ago
Please respect tables! ┬─┬ノ(ಠ_ಠノ)
This did give a chuckle.
Edit: I'm surprised that PHP accepts these characters ((╯°□°)╯︵┻━┻) as a valid function name. Perhaps there's a way to hack the same into JS (that would be messy).
- th0br0 11y agoNot verbatim. But you can do window["(╯°□°)╯︵┻━┻"] = function() { return ... }; window["(╯°□°)╯︵┻━┻"]()
- CatsoCatsoCatso 11y agoEnclosing it within quotes seems like defeat. Edit: You can assign the property to be without quotes using a bit of a hack, you just can't call it. var o = {}; // Creates a new object Object.defineProperty(o, "(╯°□°)╯︵┻━┻", {value : "Please respect tables! ┬─┬ノ(ಠ_ಠノ)"}); //=> o = {(╯°□°)╯︵┻━┻: "Please respect tables! ┬─┬ノ(ಠ_ಠノ)"} Trying to call o.(╯°□°)╯︵┻━┻ returns an error though.