也就是 background-color 寫成 target.backgroundColor = 'red'
CamelCase, camel case or medial capitals is the practice of writing compound words or phrases in which the words are joined without spaces and are capitalized within the compound. The term's name comes from the uppercase "bumps" in the middle of the compound word, suggestive of the humps of a camel.
沒有留言:
張貼留言