摘要: const scaleNames = { c: 'Celsius', f: 'Fahrenheit' }; function toCelsius(fahrenheit) { return (fahrenheit - 32) * 5 / 9; } function toFahrenheit(celsius) { return (celsius * 9 /... 阅读全文
posted @ 2019-02-04 14:27 Lolita_web 阅读(461) 评论(0) 推荐(0) 编辑
摘要: class Reservation extends React.Component { constructor(props) { super(props); this.state = { isGoing: true, numberOfGuests: 2, value: '' ... 阅读全文
posted @ 2019-02-04 13:11 Lolita_web 阅读(244) 评论(0) 推荐(0) 编辑