Question: "Toothbrush" is a song by American band DNCE from their debut EP "Swaay" (2015), the song was written by which DNCE member, an American singer and actor?

Context articles: Rock Bottom (Hailee Steinfeld song)
Haiz (EP)
Toothbrush (DNCE song)
DNCE (album)
Body Moves
Kissing Strangers
DNCE discography
Swaay
Cake by the Ocean
Joe Jonas

"Rock Bottom" is a song by American actress and singer Hailee Steinfeld featuring American funk pop band DNCE.
 It was released on March 1, 2016, through Republic Records and Universal Music Group, as the second single from her debut extended play (EP), "Haiz" (2015).
 The song was written by Mattias Larsson, Robin Fredriksson, Julia Michaels, and Justin Tranter, with production being handled by Larsson and Fredriksson under their stage name Mattman & Robin.
Haiz (stylized as HΔIZ) is the debut extended play (EP) by American actress and singer Hailee Steinfeld.
 It was released on November 13, 2015, by Republic Records.
 The EP was preceded by the lead single, "Love Myself", which has reached the top 40 on multiple international singles charts.
 The second single, "Rock Bottom", featuring the band DNCE was released on February 27, 2016.
"Toothbrush" is a song by American band DNCE from their debut EP "Swaay" (2015) and debut studio album "DNCE".
 It serves as the record's second single and impacted American contemporary hit radio on May 17, 2016 through Republic Records.
 The song was written by DNCE member Joe Jonas alongside Ilya Salmanzadeh, James Alan Ghaleb, and Rickard Göransson and was produced by Ilya.
DNCE is the self-titled debut studio album by American band DNCE.
 It was released on November 18, 2016, by Republic Records.
 Recorded between 2015 and 2016, the album includes three tracks from their debut EP, "Swaay" in (2015), and as a "dance-oriented pop" album, "DNCE" also contains influences of new wave, dance-rock, disco, and alternative pop.
 Lead singer Joe Jonas co-wrote every track on the standard edition of the album with a variety of collaborators including Ilya Salmanzadeh, Rami Yacoub, Mattman & Robin, Justin Tranter, and Sir Nolan.
"Body Moves" is a song recorded by American band DNCE for their self-titled debut studio album (2016).
 DNCE member Joe Jonas wrote the song with Rami Yacoub, Albin Nedler, and Kristoffer Fogelmark, all three of whom co-produced the track.
 It was released to digital retailers on September 30, 2016 through Republic Records as the album's official lead single.
"Kissing Strangers" is a song recorded by American band DNCE, featuring American rapper Nicki Minaj.
 The song was written by Justin Tranter, Nicki Minaj, Robin Fredriksson and Mattias Larsson, with the latter two handling the song's production.
 It was released to digital retailers on April 13, 2017, through Republic Records as the lead single from the band's forthcoming second studio album.
 It is to be featured on the upcoming rhythm video game, Just Dance 2018.
 On August 4, 2017, a remix with Luis Fonsi was released.
The discography of DNCE, an American band, consists of one studio album, one extended play, five singles (including one as a featured artist) and other album appearances.
 The group released their debut single, "Cake by the Ocean", on September 18, 2015.
 Though starting out slow, the song went on to become a success in numerous territories.
 The song has so far peaked at number 9 on the "Billboard" Hot 100, and at number 7 on the Canadian Hot 100.
 The group released their debut extended play, "Swaay", on October 23, 2015.
 The four-track album received a generally positive critical reception upon its release, with "Entertainment Weekly" writing that it "splits the difference between [Joe's] former band’s slick power pop and the electro-kissed pop stylings of his solo album."
Swaay is the debut EP by American band DNCE.
 The EP was released worldwide on October 23, 2015, by Republic Records.
 The majority of the EP was co-produced and co-written by lead singer and frontman Joe Jonas.
 The EP debuted at number 39 on the US "Billboard" 200.
"Cake by the Ocean" is the debut single by American band DNCE, released for sale on September 18, 2015 and to radio on September 29, 2015 through Republic Records.
 It serves as the lead single from their debut EP, "Swaay" (2015) and is also included on their debut studio album, "DNCE" (2016).
Joseph Adam "Joe" Jonas (born August 15, 1989) is an American singer and actor.
 Jonas first rose to fame as a member of the pop-rock band Jonas Brothers, along with his brothers Kevin and Nick.
 The band's debut album, "It's About Time" (2006), was a commercial failure following a limited release.
 The group signed with Hollywood Records, and in 2007 released their eponymous second studio album.
 The album went on to be a commercial success for the group, selling over two million copies in the United States alone.
 The group became heavily involved with the Disney Channel and later made their film debut in the Disney Channel Original Movie "Camp Rock" (2008).
 The film and its soundtrack became a major hit for the network and helped propel the brothers into further commercial success.
 Their third studio album, "A Little Bit Longer" (2008), became their first to top the "Billboard" 200 and went on to become their highest selling album to date.
 The album's lead single became a top five hit in the United States.
 Their fourth studio album, "Lines, Vines and Trying Times" (2009) became their second to top the charts in the United States.
 The brothers also starred in two of their Disney Channel series from 2009 to 2010, being "JONAS L.A." and "".
 In 2010, the group starred in "", reprising their roles from the original film.